push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
{
lib,
buildDunePackage,
fetchFromGitLab,
zarith,
zarith_stubs_js ? null,
integers_stubs_js,
integers,
hex,
alcotest,
}:
buildDunePackage rec {
pname = "bls12-381";
version = "6.1.0";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "cryptography/ocaml-bls12-381";
rev = version;
hash = "sha256-z2ZSOrXgm+XjdrY91vqxXSKhA0DyJz6JkkNljDZznX8=";
};
minimalOCamlVersion = "4.08";
postPatch = ''
patchShebangs ./src/*.sh
'';
propagatedBuildInputs = [
zarith
zarith_stubs_js
integers_stubs_js
hex
integers
];
checkInputs = [
alcotest
];
doCheck = true;
meta = {
homepage = "https://nomadic-labs.gitlab.io/cryptography/ocaml-bls12-381/bls12-381/";
description = "Implementation of BLS12-381 and some cryptographic primitives built on top of it";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View File

@@ -0,0 +1,37 @@
{
lib,
fetchFromGitLab,
buildDunePackage,
ff-sig,
zarith,
}:
buildDunePackage rec {
pname = "bls12-381-gen";
version = "0.4.4";
src = fetchFromGitLab {
owner = "dannywillems";
repo = "ocaml-bls12-381";
rev = "${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 ];
};
}