Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildDunePackage, ptime, tyxml }:
2
3buildDunePackage (rec {
4 pname = "junit";
5 version = "2.0.2";
6
7 src = fetchurl {
8 url = "https://github.com/Khady/ocaml-junit/releases/download/${version}/junit-${version}.tbz";
9 sha256 = "00bbx5j8vsy9fqbc04xa3lsalaxicirmbczr65bllfk1afv43agx";
10 };
11
12 propagatedBuildInputs = [
13 ptime
14 tyxml
15 ];
16
17 duneVersion = "3";
18 doCheck = true;
19
20 meta = with lib; {
21 description = "ocaml-junit is an 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.";
22 license = licenses.gpl3;
23 maintainers = with maintainers; [ ];
24 homepage = "https://github.com/Khady/ocaml-junit";
25 };
26})