https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 8f9d979949d3f46549bad24ee0e393e82f81cc7b authored by Benjamin Gregoire on 31 August 2021, 06:39 UTC
add more rules
Tip revision: 8f9d979
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