https://github.com/EasyCrypt/easycrypt
Revision b229a87e508b45744669b503bdd8093654ca39dd authored by Christian Doczkal on 24 March 2022, 12:11:19 UTC, committed by Pierre-Yves Strub on 29 March 2022, 14:19:04 UTC
1 parent 1a754ad
Raw File
Tip revision: b229a87e508b45744669b503bdd8093654ca39dd authored by Christian Doczkal on 24 March 2022, 12:11:19 UTC
dopt: extend subdistribution to lossless distributions on options
Tip revision: b229a87
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