anchor.diff:  assert versionAtLeast (getVersion ocpBuild) "1.99.6-beta";
   assert versionAtLeast (getVersion ocpIndent) "1.4.2";
   
  -let version = "1.1.1"; in
  +let
  +  version = "1.1.2";
  +  patch402 = fetchurl {
  +    url = https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/ocp-index/ocp-index.1.1.2/files/ocaml.4.02.patch;
  +    sha256 = "1wcpn2pv7h8ia3ybmzdlm8v5hfvq1rgmlj02wwj0yh3vqjvxqvsm";
  +  };
  +in
   
   stdenv.mkDerivation {
   
  
positive.code: 
    src = fetchzip {
      url = "http://github.com/OCamlPro/ocp-index/archive/${version}.tar.gz";
      sha256 = "173lqbyivwv1zf9ifpxa9f8m2y3kybzs3idrwyzy824ixdqv2fww";
    };
  
    buildInputs = [ ocaml findlib ocpBuild opam cmdliner ncurses re libev ]
    ++ optional (versionAtLeast (getVersion lambdaTerm) "1.7") lambdaTerm;
  
negative.code: { stdenv, fetchurl, fetchzip, ocaml, findlib, ocpBuild, ocpIndent, opam, cmdliner, ncurses, re, lambdaTerm, libev }:
  
  let inherit (stdenv.lib) getVersion versionAtLeast optional; in
  
  