https://github.com/EasyCrypt/easycrypt
Revision 71cc455910eec99a5fe986bda52c4f0b1d34576b authored by Christian Doczkal on 10 May 2022, 14:09:06 UTC, committed by Christian Doczkal on 10 May 2022, 14:09:06 UTC
1 parent ca2e7c8
Raw File
Tip revision: 71cc455910eec99a5fe986bda52c4f0b1d34576b authored by Christian Doczkal on 10 May 2022, 14:09:06 UTC
AKEM: bound public key collisions
Tip revision: 71cc455
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