Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 31 lines 743 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 ptime, 6 tyxml, 7}: 8 9buildDunePackage (rec { 10 pname = "junit"; 11 version = "2.3.0"; 12 13 src = fetchurl { 14 url = "https://github.com/Khady/ocaml-junit/releases/download/${version}/junit-${version}.tbz"; 15 hash = "sha256-j+4lfuQEWq8z8ik/zfA5phWqv8km+tGEzqG/63cbhTM="; 16 }; 17 18 propagatedBuildInputs = [ 19 ptime 20 tyxml 21 ]; 22 23 doCheck = true; 24 25 meta = with lib; { 26 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"; 27 license = licenses.lgpl3Plus; 28 maintainers = [ ]; 29 homepage = "https://github.com/Khady/ocaml-junit"; 30 }; 31})