https://github.com/EasyCrypt/easycrypt
Revision 3476312500eca68a89c5b1080e14f263f34d1d63 authored by Pierre-Yves Strub on 19 November 2021, 10:53:40 UTC, committed by Pierre-Yves Strub on 19 November 2021, 10:53:40 UTC
1 parent 08ed0c2
Raw File
Tip revision: 3476312500eca68a89c5b1080e14f263f34d1d63 authored by Pierre-Yves Strub on 19 November 2021, 10:53:40 UTC
script for graphing a dependency graph for .eco
Tip revision: 3476312
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