From c476262dcd9109168c99f3de2e9e94504807c7c5 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 22 Nov 2020 09:25:35 +0100 Subject: =?UTF-8?q?ocamlPackages.faraday:=200.7.0=20=E2=86=92=200.7.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/faraday/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/faraday/default.nix b/pkgs/development/ocaml-modules/faraday/default.nix index 0c3eb5459cb2..48a6a82a738c 100644 --- a/pkgs/development/ocaml-modules/faraday/default.nix +++ b/pkgs/development/ocaml-modules/faraday/default.nix @@ -2,7 +2,9 @@ buildDunePackage rec { pname = "faraday"; - version = "0.7.0"; + version = "0.7.2"; + + useDune2 = true; minimumOCamlVersion = "4.02"; @@ -10,12 +12,12 @@ buildDunePackage rec { owner = "inhabitedtype"; repo = pname; rev = version; - sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2"; + sha256 = "0gdysszzk6b6npic4nhpdnz2nbq7rma6aml0rbn113bfh0rmb36x"; }; - checkInputs = lib.optional doCheck alcotest; + checkInputs = [ alcotest ]; propagatedBuildInputs = [ bigstringaf ]; - doCheck = lib.versions.majorMinor ocaml.version != "4.07"; + doCheck = lib.versionAtLeast ocaml.version "4.05"; meta = { description = "Serialization library built for speed and memory efficiency"; -- cgit v1.2.3