https://github.com/EasyCrypt/easycrypt
Revision 0a2d4ad5f0679e0ccd2e531ca3b08504bca1f02d authored by Pierre-Yves Strub on 17 November 2021, 07:42:42 UTC, committed by Pierre-Yves Strub on 17 November 2021, 08:23:14 UTC
1 parent 31ce231
Tip revision: 0a2d4ad5f0679e0ccd2e531ca3b08504bca1f02d authored by Pierre-Yves Strub on 17 November 2021, 07:42:42 UTC
[build] use dune to install & find resources
[build] use dune to install & find resources
Tip revision: 0a2d4ad
default.nix
with import <nixpkgs> {};
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
yojson
zarith
]);
installFlags = [ "PREFIX=$(out)" ];
}
Computing file changes ...