diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-12-20 17:47:04 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-12-26 08:12:29 +0100 |
commit | 145c2dd515517d1cfe09606291ab0634229af8d1 (patch) | |
tree | e7de944d6be2713dd22e4b240b9c0f343744b13a /pkgs/development/ocaml-modules/ounit2 | |
parent | 80418f65eb91c808544a092c9713cc2c9ce913b5 (diff) |
ocamlPackages.ounit(2): 2.2.3 -> 2.2.4
also enable tests
Diffstat (limited to 'pkgs/development/ocaml-modules/ounit2')
-rw-r--r-- | pkgs/development/ocaml-modules/ounit2/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/ounit2/default.nix b/pkgs/development/ocaml-modules/ounit2/default.nix index 708c9a6c19e23..52676a1c88d91 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"; |