1{ lib 2, fetchPypi 3, buildPythonPackage 4, nix-update-script 5 6, setuptools 7, wheel 8 9, jinja2 10}: 11 12buildPythonPackage rec { 13 pname = "junit2html"; 14 version = "30.1.3"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-1q6KpKdrZvp8XvxGCkoorlZDDgvGg/imTX8+NEOBbWs="; 20 }; 21 22 passthru.updateScript = nix-update-script { }; 23 24 nativeBuildInputs = [ 25 setuptools 26 wheel 27 ]; 28 29 propagatedBuildInputs = [ 30 jinja2 31 ]; 32 33 pythonImportsCheck = [ "junit2htmlreport" ]; 34 35 meta = with lib; { 36 description = "Generate HTML reports from Junit results"; 37 homepage = "https://pypi.org/project/junit2html/"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ otavio ]; 40 mainProgram = "junit2html"; 41 }; 42}