https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 7ce03dc9799a816dbcb9b1164afc30d5cf2869a5 authored by Pierre-Yves Strub on 25 February 2022, 17:12:21 UTC
WIP: fix printing of modules
Tip revision: 7ce03dc
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