anchor.diff:               ps.antlr4-python3-runtime ps.sphinxcontrib-bibtex ]))
        antlr4
   
  -  ] else []) ++ (if doCheck then
  +  ] else []) ++ (if doInstallCheck then
   
       # Test-suite dependencies
       # ncurses is required to build an OCaml REPL
       optional (!versionAtLeast ocaml.version "4.07") ncurses
       ++ [
  -    python
  +    python2
       rsync
       which
       ocamlPackages.ounit
  
positive.code: 
    prefixKey = "-prefix ";
  
    buildFlags = [ "world" ] ++ optional buildDoc "doc-html";
  
    installTargets = [ "install" ] ++ optional buildDoc "install-doc-html";
  
    inherit doCheck;
  
  }
  
negative.code: , ocamlPackages ? pkgs.ocaml-ng.ocamlPackages_4_06
  , buildIde ? true
  , buildDoc ? true
  , doInstallCheck ? true
  }:
  
  with pkgs;
  