with import {}; if !lib.versionAtLeast why3.version "1.4" then throw "please update your nixpkgs channel: nix-channel --update" else stdenv.mkDerivation { name = "easycrypt-1.0"; src = ./.; buildInputs = [ why3 ] ++ (with ocamlPackages; [ ocaml findlib batteries dune_2 dune-build-info dune-site inifiles menhir menhirLib merlin yaml yojson zarith ]); installFlags = [ "PREFIX=$(out)" ]; }