lol

ocamlPackages.bls12-381-signature: init at 1.0.0

authored by

Ulrik Strid and committed by
Vincent Laporte
f93f9f43 c08f3c00

+35
+33
pkgs/development/ocaml-modules/bls12-381-signature/default.nix
··· 1 + { 2 + lib, 3 + fetchzip, 4 + buildDunePackage, 5 + bls12-381, 6 + alcotest, 7 + bisect_ppx, 8 + integers_stubs_js, 9 + }: 10 + 11 + buildDunePackage rec { 12 + pname = "bls12-381-signature"; 13 + version = "1.0.0"; 14 + src = fetchzip { 15 + url = "https://gitlab.com/nomadic-labs/cryptography/ocaml-${pname}/-/archive/${version}/ocaml-bls12-381-signature-${version}.tar.bz2"; 16 + sha256 = "sha256-KaUpAT+BWxmUP5obi4loR9vVUeQmz3p3zG3CBolUuL4="; 17 + }; 18 + 19 + minimalOCamlVersion = "4.08"; 20 + 21 + propagatedBuildInputs = [ bls12-381 ]; 22 + 23 + checkInputs = [alcotest bisect_ppx integers_stubs_js]; 24 + 25 + doCheck = true; 26 + 27 + meta = { 28 + description = "Implementation of BLS signatures for the pairing-friendly curve BLS12-381"; 29 + license = lib.licenses.mit; 30 + homepage = "https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381-signature"; 31 + maintainers = [lib.maintainers.ulrikstrid]; 32 + }; 33 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 94 94 bls12-381-gen = callPackage ../development/ocaml-modules/bls12-381/gen.nix { }; 95 95 bls12-381-legacy = callPackage ../development/ocaml-modules/bls12-381/legacy.nix { }; 96 96 97 + bls12-381-signature = callPackage ../development/ocaml-modules/bls12-381-signature { }; 98 + 97 99 bos = callPackage ../development/ocaml-modules/bos { }; 98 100 99 101 brisk-reconciler = callPackage ../development/ocaml-modules/brisk-reconciler { };