https://github.com/EasyCrypt/easycrypt
Revision ce4d8ca5a6c224b250364402991b57b124ba1101 authored by François Dupressoir on 21 February 2022, 17:58:38 UTC, committed by Pierre-Yves Strub on 21 February 2022, 18:24:12 UTC
1 parent f278e3c
Raw File
Tip revision: ce4d8ca5a6c224b250364402991b57b124ba1101 authored by François Dupressoir on 21 February 2022, 17:58:38 UTC
[dune+opam] fix git hash versioning widget
Tip revision: ce4d8ca
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