https://github.com/EasyCrypt/easycrypt
Revision 32abff2e1221f3a6390e025e1d3e7969db652e7c authored by Christian Doczkal on 08 December 2021, 16:05:33 UTC, committed by Pierre-Yves Strub on 09 December 2021, 06:26:12 UTC
1 parent 799d429
Raw File
Tip revision: 32abff2e1221f3a6390e025e1d3e7969db652e7c authored by Christian Doczkal on 08 December 2021, 16:05:33 UTC
some lemmas on subseq, fmap, and drat
Tip revision: 32abff2
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