From f8ec59a855b03ad92dbee8b263c7536b4cf393f6 Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Tue, 11 Oct 2022 09:20:38 +0200 Subject: [PATCH] ocamlPackages.bls12-381: 3.0.0 -> 4.0.0 --- .../ocaml-modules/bls12-381/default.nix | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/pkgs/development/ocaml-modules/bls12-381/default.nix b/pkgs/development/ocaml-modules/bls12-381/default.nix index a78132f9ba0b..720f5b7a1069 100644 --- a/pkgs/development/ocaml-modules/bls12-381/default.nix +++ b/pkgs/development/ocaml-modules/bls12-381/default.nix @@ -1,21 +1,17 @@ -{ lib, buildDunePackage, fetchFromGitLab, ff-sig, zarith -, zarith_stubs_js, integers_stubs_js, integers, hex -, ff-pbt, bisect_ppx, alcotest -}: +{ lib, buildDunePackage, fetchFromGitLab +, ff-sig, zarith, zarith_stubs_js, integers_stubs_js, integers, hex +, alcotest, ff-pbt }: buildDunePackage rec { pname = "bls12-381"; - version = "3.0.0"; - + version = "4.0.0"; src = fetchFromGitLab { owner = "dannywillems"; repo = "ocaml-bls12-381"; - rev = "4bbc7818e9ccd025c5e32006f8a9de370739bc43"; - sha256 = "/Rw0mQvTfHyPqosWFPv+1FoY5Dwuwv9mB8UYjjHxodE="; + rev = version; + sha256 = "sha256-K9AsYUAUdk4XnspUalJKX5kycDFwO8PZx4bGaD3qZv8="; }; - useDune2 = true; - minimalOCamlVersion = "4.08"; propagatedBuildInputs = [ @@ -27,11 +23,7 @@ buildDunePackage rec { hex ]; - checkInputs = [ - ff-pbt - bisect_ppx - alcotest - ]; + checkInputs = [ alcotest ff-pbt ]; doCheck = true;