2021-09-21 09:47:59 +01:00
|
|
|
{ lib, buildDunePackage, bls12-381-gen, ff-sig, zarith, ctypes, alcotest }:
|
2021-07-15 07:37:58 +01:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bls12-381";
|
|
|
|
|
2021-09-21 09:47:59 +01:00
|
|
|
inherit (bls12-381-gen) version src useDune2 doCheck;
|
2021-07-15 07:37:58 +01:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [
|
2021-09-21 09:47:59 +01:00
|
|
|
ff-sig
|
2021-07-15 07:37:58 +01:00
|
|
|
zarith
|
|
|
|
ctypes
|
2021-09-21 09:47:59 +01:00
|
|
|
bls12-381-gen
|
2021-07-15 07:37:58 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|