2021-10-14 00:43:12 +00:00
|
|
|
{ lib, buildDunePackage, bls12-381-gen, ff-sig, zarith, ctypes, alcotest }:
|
2021-07-16 19:40:57 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bls12-381";
|
|
|
|
|
2021-10-14 00:43:12 +00:00
|
|
|
inherit (bls12-381-gen) version src useDune2 doCheck;
|
2021-07-16 19:40:57 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [
|
2021-10-14 00:43:12 +00:00
|
|
|
ff-sig
|
2021-07-16 19:40:57 +00:00
|
|
|
zarith
|
|
|
|
ctypes
|
2021-10-14 00:43:12 +00:00
|
|
|
bls12-381-gen
|
2021-07-16 19:40:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|