diff options
author | Ulrik Strid <ulrik.strid@outlook.com> | 2023-06-20 09:17:27 +0200 |
---|---|---|
committer | Ulrik Strid <ulrik.strid@outlook.com> | 2023-06-20 09:22:46 +0200 |
commit | 0a705f573b7e2fa7a7d6bb0761b249d7b7711e11 (patch) | |
tree | 7a50512a90e493dc0c8ef48007a6e86f3ade6174 /pkgs/development/ocaml-modules | |
parent | cf4ce51861fe1e7bb74b74d6dfd45a57e6d63dcf (diff) | |
download | nixlib-0a705f573b7e2fa7a7d6bb0761b249d7b7711e11.tar nixlib-0a705f573b7e2fa7a7d6bb0761b249d7b7711e11.tar.gz nixlib-0a705f573b7e2fa7a7d6bb0761b249d7b7711e11.tar.bz2 nixlib-0a705f573b7e2fa7a7d6bb0761b249d7b7711e11.tar.lz nixlib-0a705f573b7e2fa7a7d6bb0761b249d7b7711e11.tar.xz nixlib-0a705f573b7e2fa7a7d6bb0761b249d7b7711e11.tar.zst nixlib-0a705f573b7e2fa7a7d6bb0761b249d7b7711e11.zip |
ocamlPackages.bls12-381: 5.0.0 -> 6.1.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/bls12-381/default.nix | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/pkgs/development/ocaml-modules/bls12-381/default.nix b/pkgs/development/ocaml-modules/bls12-381/default.nix index 20b2cd66a758..65b1a476f9dd 100644 --- a/pkgs/development/ocaml-modules/bls12-381/default.nix +++ b/pkgs/development/ocaml-modules/bls12-381/default.nix @@ -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 ]; }; |