https://github.com/EasyCrypt/easycrypt
Revision ae8fedeef1660806335d46a84394f89e7bd4b039 authored by Christian Doczkal on 07 June 2021, 11:52:33 UTC, committed by Christian Doczkal on 03 December 2021, 13:59:52 UTC
1 parent c916ea0
Raw File
Tip revision: ae8fedeef1660806335d46a84394f89e7bd4b039 authored by Christian Doczkal on 07 June 2021, 11:52:33 UTC
finish proof of B_bound
Tip revision: ae8fede
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