https://github.com/EasyCrypt/easycrypt
Revision ae4fe9243635b8ec6bdabc4c44aa0f26a16b52a1 authored by Pierre-Yves Strub on 05 April 2022, 10:25:31 UTC, committed by Pierre-Yves Strub on 05 April 2022, 10:59:53 UTC
1 parent d5941d0
Raw File
Tip revision: ae4fe9243635b8ec6bdabc4c44aa0f26a16b52a1 authored by Pierre-Yves Strub on 05 April 2022, 10:25:31 UTC
[reduction]: use symmetric "and" when reducing tuples equality
Tip revision: ae4fe92
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