https://github.com/EasyCrypt/easycrypt
Revision 229ac7a3975f89f45523198a2b49ec28a4a02dad authored by Pierre-Yves Strub on 17 November 2021, 06:24:47 UTC, committed by Pierre-Yves Strub on 17 November 2021, 06:24:47 UTC
1 parent 02082bd
Raw File
Tip revision: 229ac7a3975f89f45523198a2b49ec28a4a02dad authored by Pierre-Yves Strub on 17 November 2021, 06:24:47 UTC
Remove EcFortune
Tip revision: 229ac7a
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
      inifiles
      menhir
      menhirLib
      merlin
      yojson
      zarith
    ]);
    installFlags = [ "PREFIX=$(out)" ];
  }
back to top