https://github.com/EasyCrypt/easycrypt
Revision df78b6557c499f81f874621243e62ba620bf81bb authored by Pierre-Yves Strub on 17 November 2021, 05:34:13 UTC, committed by Pierre-Yves Strub on 17 November 2021, 05:34:13 UTC
1 parent f8d5b79
Raw File
Tip revision: df78b6557c499f81f874621243e62ba620bf81bb authored by Pierre-Yves Strub on 17 November 2021, 05:34:13 UTC
.gitignore (.eca at root)
Tip revision: df78b65
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