https://github.com/EasyCrypt/easycrypt
Revision dfb413df8e05087230930ea3f5574cb5b097147c authored by Pierre-Yves Strub on 17 November 2021, 15:35:07 UTC, committed by Pierre-Yves Strub on 17 November 2021, 15:35:07 UTC
1 parent 0a2d4ad
Raw File
Tip revision: dfb413df8e05087230930ea3f5574cb5b097147c authored by Pierre-Yves Strub on 17 November 2021, 15:35:07 UTC
fix opam package (do not do "dune subst")
Tip revision: dfb413d
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