From 1cfe539b03993e01600ef55bbbaa1163f35d5b78 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 3 Jul 2022 16:55:13 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.digestif:=201.1.0=20=E2=86=92=201?= =?UTF-8?q?.1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/digestif/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/ocaml-modules/digestif/default.nix b/pkgs/development/ocaml-modules/digestif/default.nix index dba0bcb9269..2e2e3a7b23b 100644 --- a/pkgs/development/ocaml-modules/digestif/default.nix +++ b/pkgs/development/ocaml-modules/digestif/default.nix @@ -1,29 +1,27 @@ { lib, ocaml, fetchurl, buildDunePackage , pkg-config, which -, bigarray-compat, eqaf, stdlib-shims +, eqaf , alcotest, astring, bos, findlib, fpath }: buildDunePackage rec { pname = "digestif"; - version = "1.1.0"; + version = "1.1.2"; - useDune2 = true; + minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/mirage/digestif/releases/download/v${version}/digestif-v${version}.tbz"; - sha256 = "01gwkbrznci4xdcbww4ysgsciz2qs0r8jsmhp0siwbcgcrf1jjv5"; + url = "https://github.com/mirage/digestif/releases/download/v${version}/digestif-${version}.tbz"; + sha256 = "sha256-edNM5ROxFIV+OAqr328UcyGPGwXdflHQOJB3ntAbRmY="; }; nativeBuildInputs = [ findlib which ]; buildInputs = [ ocaml ]; - propagatedBuildInputs = [ bigarray-compat eqaf stdlib-shims ]; - - strictDeps = !doCheck; + propagatedBuildInputs = [ eqaf ]; checkInputs = [ alcotest astring bos fpath ]; - doCheck = lib.versionAtLeast ocaml.version "4.05"; + doCheck = true; postCheck = '' ocaml -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/ test/test_runes.ml