diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/bls12-381/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/bls12-381/default.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/development/ocaml-modules/bls12-381/default.nix b/pkgs/development/ocaml-modules/bls12-381/default.nix index e7426cf10e9d3..0568f89903205 100644 --- a/pkgs/development/ocaml-modules/bls12-381/default.nix +++ b/pkgs/development/ocaml-modules/bls12-381/default.nix @@ -1,21 +1,26 @@ -{ lib, buildDunePackage, bls12-381-gen, ff-sig, zarith, ctypes, alcotest }: +{ lib, buildDunePackage, fetchFromGitLab, ff-sig, zarith }: buildDunePackage rec { pname = "bls12-381"; + version = "1.1.0"; - inherit (bls12-381-gen) version src useDune2 doCheck; + src = fetchFromGitLab { + owner = "dannywillems"; + repo = "ocaml-bls12-381"; + rev = "22247018c0651ea62ae898c8ffcc388cc73f758f"; + sha256 = "ku6Rc+/lwFDoHTZTxgkhiF+kLkagi7944ntcu9vXWgI="; + }; + + useDune2 = true; minimalOCamlVersion = "4.08"; + propagatedBuildInputs = [ ff-sig zarith - ctypes - bls12-381-gen ]; - checkInputs = [ - alcotest - ]; + doCheck = true; meta = { homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381"; |