ocamlPackages.junit: 2.0.2 → 2.3.0

This commit is contained in:
Vincent Laporte
2025-05-09 07:13:39 +02:00
committed by Vincent Laporte
parent ce3b7072d7
commit 5e31efee6b
3 changed files with 9 additions and 9 deletions

View File

@@ -1,19 +1,20 @@
{ {
buildDunePackage, buildDunePackage,
lib,
ocaml,
junit, junit,
alcotest, alcotest,
}: }:
buildDunePackage ({ buildDunePackage {
pname = "junit_alcotest"; pname = "junit_alcotest";
inherit (junit) src version meta; inherit (junit) src version meta;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
junit junit
alcotest alcotest
]; ];
doCheck = false; # 2 tests fail: 1) "Test with unexpected exception"; 2) "with wrong result"; doCheck = lib.versionAtLeast ocaml.version "4.12";
}) }

View File

@@ -8,11 +8,11 @@
buildDunePackage (rec { buildDunePackage (rec {
pname = "junit"; pname = "junit";
version = "2.0.2"; version = "2.3.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/Khady/ocaml-junit/releases/download/${version}/junit-${version}.tbz"; url = "https://github.com/Khady/ocaml-junit/releases/download/${version}/junit-${version}.tbz";
sha256 = "00bbx5j8vsy9fqbc04xa3lsalaxicirmbczr65bllfk1afv43agx"; hash = "sha256-j+4lfuQEWq8z8ik/zfA5phWqv8km+tGEzqG/63cbhTM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@@ -1,18 +1,17 @@
{ {
buildDunePackage, buildDunePackage,
junit, junit,
ounit, ounit2,
}: }:
buildDunePackage ({ buildDunePackage ({
pname = "junit_ounit"; pname = "junit_ounit";
inherit (junit) src version meta; inherit (junit) src version meta;
duneVersion = "3";
propagatedBuildInputs = [ propagatedBuildInputs = [
junit junit
ounit ounit2
]; ];
doCheck = true; doCheck = true;