https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: aab83b0a3c11427531afc1d2ab873daa1f6ca78b authored by Antoine Séré on 18 February 2022, 17:17:37 UTC
Linked exp in int and in zmod
Tip revision: aab83b0
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)" ];
  }
back to top