https://github.com/EasyCrypt/easycrypt
Revision e22c918828a41410b7a738ce2793534084d328fa authored by MM on 13 January 2022, 20:10:45 UTC, committed by Pierre-Yves Strub on 03 March 2022, 12:53:02 UTC
1 parent 8cfa32b
Raw File
Tip revision: e22c918828a41410b7a738ce2793534084d328fa authored by MM on 13 January 2022, 20:10:45 UTC
Added definition and lemmas for 'put' operator in List.ec.
Tip revision: e22c918
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