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:
commit
09e42015ad
42
pkgs/development/python-modules/junit2html/default.nix
Normal file
42
pkgs/development/python-modules/junit2html/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue