lol

ocamlPackages.bls12-381: 5.0.0 -> 6.1.0

+21 -14
+21 -14
pkgs/development/ocaml-modules/bls12-381/default.nix
··· 1 - { lib, buildDunePackage, fetchFromGitLab 2 - , ff-sig, zarith 3 , zarith_stubs_js ? null 4 , integers_stubs_js 5 - , integers, hex 6 - , alcotest, ff-pbt 7 }: 8 9 buildDunePackage rec { 10 pname = "bls12-381"; 11 - version = "5.0.0"; 12 src = fetchFromGitLab { 13 - owner = "dannywillems"; 14 - repo = "ocaml-bls12-381"; 15 rev = version; 16 - sha256 = "sha256-Hy/I+743HSToZgGPFFiAbx7nrybHsE2PwycDsu3DuHM="; 17 }; 18 19 minimalOCamlVersion = "4.08"; 20 - duneVersion = "3"; 21 22 propagatedBuildInputs = [ 23 - ff-sig 24 zarith 25 zarith_stubs_js 26 integers_stubs_js 27 - integers 28 hex 29 ]; 30 31 - checkInputs = [ alcotest ff-pbt ]; 32 33 doCheck = true; 34 35 meta = { 36 - homepage = "https://gitlab.com/dannywillems/ocaml-bls12-381"; 37 - description = "OCaml binding for bls12-381 from librustzcash"; 38 license = lib.licenses.mit; 39 maintainers = [ lib.maintainers.ulrikstrid ]; 40 };
··· 1 + { lib 2 + , buildDunePackage 3 + , fetchFromGitLab 4 + , zarith 5 , zarith_stubs_js ? null 6 , integers_stubs_js 7 + , integers 8 + , hex 9 + , alcotest 10 }: 11 12 buildDunePackage rec { 13 pname = "bls12-381"; 14 + version = "6.1.0"; 15 src = fetchFromGitLab { 16 + owner = "nomadic-labs"; 17 + repo = "cryptography/ocaml-bls12-381"; 18 rev = version; 19 + sha256 = "sha256-z2ZSOrXgm+XjdrY91vqxXSKhA0DyJz6JkkNljDZznX8="; 20 }; 21 22 minimalOCamlVersion = "4.08"; 23 + 24 + postPatch = '' 25 + patchShebangs ./src/*.sh 26 + ''; 27 28 propagatedBuildInputs = [ 29 zarith 30 zarith_stubs_js 31 integers_stubs_js 32 hex 33 + integers 34 ]; 35 36 + checkInputs = [ 37 + alcotest 38 + ]; 39 40 doCheck = true; 41 42 meta = { 43 + homepage = " https://nomadic-labs.gitlab.io/cryptography/ocaml-bls12-381/bls12-381/"; 44 + description = "Implementation of BLS12-381 and some cryptographic primitives built on top of it"; 45 license = lib.licenses.mit; 46 maintainers = [ lib.maintainers.ulrikstrid ]; 47 };