ocamlPackages.bls12-381: 5.0.0 -> 6.1.0
This commit is contained in:
parent
cf4ce51861
commit
0a705f573b
|
@ -1,40 +1,47 @@
|
||||||
{ lib, buildDunePackage, fetchFromGitLab
|
{ lib
|
||||||
, ff-sig, zarith
|
, buildDunePackage
|
||||||
|
, fetchFromGitLab
|
||||||
|
, zarith
|
||||||
, zarith_stubs_js ? null
|
, zarith_stubs_js ? null
|
||||||
, integers_stubs_js
|
, integers_stubs_js
|
||||||
, integers, hex
|
, integers
|
||||||
, alcotest, ff-pbt
|
, hex
|
||||||
|
, alcotest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "bls12-381";
|
pname = "bls12-381";
|
||||||
version = "5.0.0";
|
version = "6.1.0";
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "dannywillems";
|
owner = "nomadic-labs";
|
||||||
repo = "ocaml-bls12-381";
|
repo = "cryptography/ocaml-bls12-381";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-Hy/I+743HSToZgGPFFiAbx7nrybHsE2PwycDsu3DuHM=";
|
sha256 = "sha256-z2ZSOrXgm+XjdrY91vqxXSKhA0DyJz6JkkNljDZznX8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
duneVersion = "3";
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs ./src/*.sh
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ff-sig
|
|
||||||
zarith
|
zarith
|
||||||
zarith_stubs_js
|
zarith_stubs_js
|
||||||
integers_stubs_js
|
integers_stubs_js
|
||||||
integers
|
|
||||||
hex
|
hex
|
||||||
|
integers
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ alcotest ff-pbt ];
|
checkInputs = [
|
||||||
|
alcotest
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381";
|
homepage = " https://nomadic-labs.gitlab.io/cryptography/ocaml-bls12-381/bls12-381/";
|
||||||
description = "OCaml binding for bls12-381 from librustzcash";
|
description = "Implementation of BLS12-381 and some cryptographic primitives built on top of it";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ lib.maintainers.ulrikstrid ];
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user