ocamlPackages.secp256k1-internal: init at 0.2.0
This commit is contained in:
parent
91ffffd904
commit
77b1d5ef0e
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, fetchFromGitLab
|
||||
, buildDunePackage
|
||||
, gmp
|
||||
, dune-configurator
|
||||
, cstruct
|
||||
, bigstring
|
||||
, alcotest
|
||||
, hex
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "secp256k1-internal";
|
||||
version = "0.2";
|
||||
src = fetchFromGitLab {
|
||||
owner = "nomadic-labs";
|
||||
repo = "ocaml-secp256k1-internal";
|
||||
rev = "v${version}";
|
||||
sha256 = "1g9fyi78nmmm19l2cggwj14m4n80rz7gmnh1gq376zids71s6qxv";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gmp
|
||||
cstruct
|
||||
bigstring
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
alcotest
|
||||
hex
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Bindings to secp256k1 internal functions (generic operations on the curve)";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.ulrikstrid ];
|
||||
};
|
||||
}
|
|
@ -1031,6 +1031,8 @@ let
|
|||
inherit (pkgs) secp256k1;
|
||||
};
|
||||
|
||||
secp256k1-internal = callPackage ../development/ocaml-modules/secp256k1-internal { };
|
||||
|
||||
seq = callPackage ../development/ocaml-modules/seq { };
|
||||
|
||||
sosa = callPackage ../development/ocaml-modules/sosa { };
|
||||
|
|
Loading…
Reference in a new issue