Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
815 B
Nix
49 lines
815 B
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
buildDunePackage,
|
|
gmp,
|
|
dune-configurator,
|
|
cstruct,
|
|
bigstring,
|
|
alcotest,
|
|
hex,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "secp256k1-internal";
|
|
version = "0.4";
|
|
src = fetchFromGitLab {
|
|
owner = "nomadic-labs";
|
|
repo = "ocaml-secp256k1-internal";
|
|
rev = "v${version}";
|
|
hash = "sha256-amVtp94cE1NxClWJgcJvRmilnQlC7z44mORUaxvPn00=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
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 ];
|
|
};
|
|
}
|