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
|
||||
, ff-sig, zarith
|
||||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchFromGitLab
|
||||
, zarith
|
||||
, zarith_stubs_js ? null
|
||||
, integers_stubs_js
|
||||
, integers, hex
|
||||
, alcotest, ff-pbt
|
||||
, integers
|
||||
, hex
|
||||
, alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "bls12-381";
|
||||
version = "5.0.0";
|
||||
version = "6.1.0";
|
||||
src = fetchFromGitLab {
|
||||
owner = "dannywillems";
|
||||
repo = "ocaml-bls12-381";
|
||||
owner = "nomadic-labs";
|
||||
repo = "cryptography/ocaml-bls12-381";
|
||||
rev = version;
|
||||
sha256 = "sha256-Hy/I+743HSToZgGPFFiAbx7nrybHsE2PwycDsu3DuHM=";
|
||||
sha256 = "sha256-z2ZSOrXgm+XjdrY91vqxXSKhA0DyJz6JkkNljDZznX8=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ./src/*.sh
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ff-sig
|
||||
zarith
|
||||
zarith_stubs_js
|
||||
integers_stubs_js
|
||||
integers
|
||||
hex
|
||||
integers
|
||||
];
|
||||
|
||||
checkInputs = [ alcotest ff-pbt ];
|
||||
checkInputs = [
|
||||
alcotest
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381";
|
||||
description = "OCaml binding for bls12-381 from librustzcash";
|
||||
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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user