ocamlPackages.bls12-381-hash: init at 1.0.0
This commit is contained in:
parent
22f88c83dd
commit
87860969d4
27
pkgs/development/ocaml-modules/bls12-381-hash/default.nix
Normal file
27
pkgs/development/ocaml-modules/bls12-381-hash/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitLab
|
||||||
|
, buildDunePackage
|
||||||
|
, bls12-381
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "bls12-381-hash";
|
||||||
|
version = "1.0.0";
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "nomadic-labs";
|
||||||
|
repo = "cryptography/ocaml-bls12-381-hash";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "sha256-cfsSVmN4rbKcLcPcy6NduZktJhPXiVdK75LypmaSe9I=";
|
||||||
|
};
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ bls12-381 ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Implementation of some cryptographic hash primitives using the scalar field of BLS12-381";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
homepage = "https://gitlab.com/nomadic-labs/privacy-team";
|
||||||
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -104,7 +104,8 @@ let
|
||||||
|
|
||||||
bls12-381 = callPackage ../development/ocaml-modules/bls12-381 { };
|
bls12-381 = callPackage ../development/ocaml-modules/bls12-381 { };
|
||||||
bls12-381-gen = callPackage ../development/ocaml-modules/bls12-381/gen.nix { };
|
bls12-381-gen = callPackage ../development/ocaml-modules/bls12-381/gen.nix { };
|
||||||
bls12-381-legacy = callPackage ../development/ocaml-modules/bls12-381/legacy.nix { };
|
|
||||||
|
bls12-381-hash = callPackage ../development/ocaml-modules/bls12-381-hash { };
|
||||||
|
|
||||||
bls12-381-signature = callPackage ../development/ocaml-modules/bls12-381-signature { };
|
bls12-381-signature = callPackage ../development/ocaml-modules/bls12-381-signature { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue