Skip to content

Commit 5e31efe

Browse files
committed
ocamlPackages.junit: 2.0.2 → 2.3.0
1 parent ce3b707 commit 5e31efe

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
{
22
buildDunePackage,
3+
lib,
4+
ocaml,
35
junit,
46
alcotest,
57
}:
68

7-
buildDunePackage ({
9+
buildDunePackage {
810
pname = "junit_alcotest";
911

1012
inherit (junit) src version meta;
11-
duneVersion = "3";
1213

1314
propagatedBuildInputs = [
1415
junit
1516
alcotest
1617
];
1718

18-
doCheck = false; # 2 tests fail: 1) "Test with unexpected exception"; 2) "with wrong result";
19-
})
19+
doCheck = lib.versionAtLeast ocaml.version "4.12";
20+
}

pkgs/development/ocaml-modules/junit/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
buildDunePackage (rec {
1010
pname = "junit";
11-
version = "2.0.2";
11+
version = "2.3.0";
1212

1313
src = fetchurl {
1414
url = "https://github.com/Khady/ocaml-junit/releases/download/${version}/junit-${version}.tbz";
15-
sha256 = "00bbx5j8vsy9fqbc04xa3lsalaxicirmbczr65bllfk1afv43agx";
15+
hash = "sha256-j+4lfuQEWq8z8ik/zfA5phWqv8km+tGEzqG/63cbhTM=";
1616
};
1717

1818
propagatedBuildInputs = [

pkgs/development/ocaml-modules/junit/ounit.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
22
buildDunePackage,
33
junit,
4-
ounit,
4+
ounit2,
55
}:
66

77
buildDunePackage ({
88
pname = "junit_ounit";
99

1010
inherit (junit) src version meta;
11-
duneVersion = "3";
1211

1312
propagatedBuildInputs = [
1413
junit
15-
ounit
14+
ounit2
1615
];
1716

1817
doCheck = true;

0 commit comments

Comments
 (0)