https://github.com/EasyCrypt/easycrypt
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