https://github.com/EasyCrypt/easycrypt
Revision 4dec70e8b54e8c627cf8b32d15786e06f255a3af authored by Adrien Koutsos on 07 April 2022, 09:18:51 UTC, committed by Pierre-Yves Strub on 07 April 2022, 09:47:53 UTC
1 parent ae4fe92
Raw File
Tip revision: 4dec70e8b54e8c627cf8b32d15786e06f255a3af authored by Adrien Koutsos on 07 April 2022, 09:18:51 UTC
Fix typing of modules expressions
Tip revision: 4dec70e
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