1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #264425 from otavio/junit2html

python3Packages.junit2html: init at 30.1.3
This commit is contained in:
Thiago Kenji Okada 2023-10-31 18:08:36 +00:00 committed by GitHub
commit 09e42015ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, fetchPypi
, buildPythonPackage
, nix-update-script
, setuptools
, wheel
, jinja2
}:
buildPythonPackage rec {
pname = "junit2html";
version = "30.1.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-1q6KpKdrZvp8XvxGCkoorlZDDgvGg/imTX8+NEOBbWs=";
};
passthru.updateScript = nix-update-script { };
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
jinja2
];
pythonImportsCheck = [ "junit2htmlreport" ];
meta = with lib; {
description = "Generate HTML reports from Junit results";
homepage = "https://pypi.org/project/junit2html/";
license = licenses.mit;
maintainers = with maintainers; [ otavio ];
mainProgram = "junit2html";
};
}

View file

@ -5753,6 +5753,8 @@ self: super: with self; {
junitparser = callPackage ../development/python-modules/junitparser { };
junit2html = callPackage ../development/python-modules/junit2html { };
junit-xml = callPackage ../development/python-modules/junit-xml { };
junos-eznc = callPackage ../development/python-modules/junos-eznc { };