forked from mirrors/nixpkgs
2db064d028
ocamlPackages.lwt-canceler: 0.2 -> 0.3 ocamlPackages.json-data-encoding: 0.8 -> 0.10 ocamlPackages.data-encoding: 0.2.0 -> 0.4.0 ocamlPackages.ff-sig, ff-pbt: init at 0.6.1 ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2 Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
27 lines
568 B
Nix
27 lines
568 B
Nix
{ lib, buildDunePackage, bls12-381-gen, ff-sig, zarith, ctypes, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "bls12-381";
|
|
|
|
inherit (bls12-381-gen) version src useDune2 doCheck;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
propagatedBuildInputs = [
|
|
ff-sig
|
|
zarith
|
|
ctypes
|
|
bls12-381-gen
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|