https://github.com/EasyCrypt/easycrypt
Revision ab62416f4004818d42e0ed033d31d1633258e353 authored by Christian Doczkal on 24 October 2021, 10:45:16 UTC, committed by Pierre-Yves Strub on 16 November 2021, 17:35:04 UTC
1 parent 15946aa
Raw File
Tip revision: ab62416f4004818d42e0ed033d31d1633258e353 authored by Christian Doczkal on 24 October 2021, 10:45:16 UTC
adapt to consistent use of mu1
Tip revision: ab62416
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 ocamlbuild batteries menhir menhirLib merlin zarith inifiles yojson])
    ;
  installFlags = [ "PREFIX=$(out)" ];
}
back to top