Commit 5e31efee authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.junit: 2.0.2 → 2.3.0

parent ce3b7072
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{
  buildDunePackage,
  lib,
  ocaml,
  junit,
  alcotest,
}:

buildDunePackage ({
buildDunePackage {
  pname = "junit_alcotest";

  inherit (junit) src version meta;
  duneVersion = "3";

  propagatedBuildInputs = [
    junit
    alcotest
  ];

  doCheck = false; # 2 tests fail: 1) "Test with unexpected exception"; 2) "with wrong result";
})
  doCheck = lib.versionAtLeast ocaml.version "4.12";
}
+2 −2
Original line number Diff line number Diff line
@@ -8,11 +8,11 @@

buildDunePackage (rec {
  pname = "junit";
  version = "2.0.2";
  version = "2.3.0";

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

  propagatedBuildInputs = [
+2 −3
Original line number Diff line number Diff line
{
  buildDunePackage,
  junit,
  ounit,
  ounit2,
}:

buildDunePackage ({
  pname = "junit_ounit";

  inherit (junit) src version meta;
  duneVersion = "3";

  propagatedBuildInputs = [
    junit
    ounit
    ounit2
  ];

  doCheck = true;