2022-01-25 03:21:06 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab, ff-sig, zarith }:
|
2021-07-16 19:40:57 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bls12-381";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "1.1.0";
|
2021-07-16 19:40:57 +00:00
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "dannywillems";
|
|
|
|
repo = "ocaml-bls12-381";
|
|
|
|
rev = "22247018c0651ea62ae898c8ffcc388cc73f758f";
|
|
|
|
sha256 = "ku6Rc+/lwFDoHTZTxgkhiF+kLkagi7944ntcu9vXWgI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
useDune2 = true;
|
2021-07-16 19:40:57 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
2021-07-16 19:40:57 +00:00
|
|
|
propagatedBuildInputs = [
|
2021-10-14 00:43:12 +00:00
|
|
|
ff-sig
|
2021-07-16 19:40:57 +00:00
|
|
|
zarith
|
|
|
|
];
|
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
doCheck = true;
|
2021-07-16 19:40:57 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381";
|
|
|
|
description = "OCaml binding for bls12-381 from librustzcash";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
|
|
};
|
|
|
|
}
|