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