https://github.com/EasyCrypt/easycrypt
Revision b13fb54e49840bd81ed3d872883c212cc6bab273 authored by MM on 15 March 2022, 09:19:03 UTC, committed by Pierre-Yves Strub on 17 March 2022, 20:33:03 UTC
1 parent 3646dd8
Raw File
Tip revision: b13fb54e49840bd81ed3d872883c212cc6bab273 authored by MM on 15 March 2022, 09:19:03 UTC
Add lemmas divzMr and divzMl; strenghten and prove modz_pow2_div.
Tip revision: b13fb54
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