https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 3f7727c7e680752ca939d936803d88920fd5a9e8 authored by Pierre-Yves Strub on 23 November 2021, 09:37:12 UTC
easycrypt.opam
Tip revision: 3f7727c
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
      yaml
      yojson
      zarith
    ]);
    installFlags = [ "PREFIX=$(out)" ];
  }
back to top