https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 71beb9cc5eaa23bae36e8da877bada14fc31ecfd authored by Antoine Séré on 25 April 2022, 14:53:39 UTC
Hakyber jasmin eclib
Tip revision: 71beb9c
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