mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
38 lines
721 B
Nix
38 lines
721 B
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
buildDunePackage,
|
|
ff-sig,
|
|
zarith,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "bls12-381-gen";
|
|
version = "0.4.4";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "dannywillems";
|
|
repo = "ocaml-bls12-381";
|
|
rev = "${finalAttrs.version}-legacy";
|
|
sha256 = "qocIfQdv9rniOUykRulu2zWsqkzT0OrsGczgVKALRuk=";
|
|
};
|
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [
|
|
ff-sig
|
|
zarith
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381";
|
|
description = "Functors to generate BLS12-381 primitives based on stubs";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
};
|
|
})
|