From 145c2dd515517d1cfe09606291ab0634229af8d1 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Sun, 20 Dec 2020 17:47:04 +0100 Subject: [PATCH] ocamlPackages.ounit(2): 2.2.3 -> 2.2.4 also enable tests --- pkgs/development/ocaml-modules/ounit2/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/ounit2/default.nix b/pkgs/development/ocaml-modules/ounit2/default.nix index 708c9a6c19e2..52676a1c88d9 100644 --- a/pkgs/development/ocaml-modules/ounit2/default.nix +++ b/pkgs/development/ocaml-modules/ounit2/default.nix @@ -1,18 +1,21 @@ -{ lib, buildDunePackage, fetchurl, stdlib-shims }: +{ lib, ocaml, buildDunePackage, fetchurl, stdlib-shims, ncurses }: buildDunePackage rec { minimumOCamlVersion = "4.04"; pname = "ounit2"; - version = "2.2.3"; + version = "2.2.4"; src = fetchurl { url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-v${version}.tbz"; - sha256 = "1naahh24lbyxmrnzpfz8karniqbf1nknivf96mrvsr6zlx5ad072"; + sha256 = "0i9kiqbf2dp12c4qcvbn4abdpdp6h4g5z54ycsh0q8jpv6jnkh5m"; }; propagatedBuildInputs = [ stdlib-shims ]; + doCheck = true; + checkInputs = lib.optional (lib.versionOlder ocaml.version "4.07") ncurses; + meta = with lib; { homepage = "https://github.com/gildor478/ounit"; description = "A unit test framework for OCaml";