https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: bb4b00fad9b236eef0e926d51f76a38332e492fe authored by Benjamin Gregoire on 31 May 2021, 07:30 UTC
Nothing work
Tip revision: bb4b00f
default.nix
with import <nixpkgs> {};

let why314 = why3.overrideAttrs (x:
   { name = "why3.14";
     src = fetchurl {
       url = "https://gforge.inria.fr/frs/download.php/file/38425/why3-1.4.0.tar.gz";
       sha256 = "0lw0cpx347zz9vvwqibmbxgs80fsd16scgk3isscvwxnajpc3rv8";
      };
     postPatch = "";
   }); in

stdenv.mkDerivation {
  name = "easycrypt-1.0";
  src = ./.;
  buildInputs = [ ]
    ++ (with ocamlPackages; [ ocaml findlib ocamlbuild (batteries.overrideAttrs (o: { doCheck = false; })) menhir merlin zarith inifiles why314 yojson])
    ;
  installFlags = [ "PREFIX=$(out)" ];
}
back to top