git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.ounit(2): 2.2.3 -> 2.2.4

also enable tests

commit145c2dd515517d1cfe09606291ab0634229af8d1 authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> dateSun 20 Dec 2020, 17:47 (6 years ago) parent80418f6
1 file changed+6−3
pkgs/development/ocaml-modules/ounit2/default.nix+6−3
pkgs/development/ocaml-modules/ounit2/default.nix+6−3
@@ -1,18 +1,21 @@
1−{ lib, buildDunePackage, fetchurl, stdlib-shims }:
1+{ lib, ocaml, buildDunePackage, fetchurl, stdlib-shims, ncurses }:
22
33buildDunePackage rec {
44 minimumOCamlVersion = "4.04";
55
66 pname = "ounit2";
7− version = "2.2.3";
7+ version = "2.2.4";
88
99 src = fetchurl {
1010 url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-v${version}.tbz";
11− sha256 = "1naahh24lbyxmrnzpfz8karniqbf1nknivf96mrvsr6zlx5ad072";
11+ sha256 = "0i9kiqbf2dp12c4qcvbn4abdpdp6h4g5z54ycsh0q8jpv6jnkh5m";
1212 };
1313
1414 propagatedBuildInputs = [ stdlib-shims ];
1515
16+ doCheck = true;
17+ checkInputs = lib.optional (lib.versionOlder ocaml.version "4.07") ncurses;
18+
1619 meta = with lib; {
1720 homepage = "https://github.com/gildor478/ounit";
1821 description = "A unit test framework for OCaml";