Files
nixpkgs/pkgs/development/ocaml-modules/junit/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
717 B
Nix

{
lib,
fetchurl,
buildDunePackage,
ptime,
tyxml,
}:
buildDunePackage rec {
pname = "junit";
version = "2.3.0";
src = fetchurl {
url = "https://github.com/Khady/ocaml-junit/releases/download/${version}/junit-${version}.tbz";
hash = "sha256-j+4lfuQEWq8z8ik/zfA5phWqv8km+tGEzqG/63cbhTM=";
};
propagatedBuildInputs = [
ptime
tyxml
];
doCheck = true;
meta = {
description = "OCaml package for the creation of JUnit XML reports, proving a typed API to produce valid reports acceptable to Jenkins, comes with packages supporting OUnit and Alcotest";
license = lib.licenses.lgpl3Plus;
maintainers = [ ];
homepage = "https://github.com/Khady/ocaml-junit";
};
}