Merge pull request #269039 from fabaff/junit2html-refactor
python311Packages.junit2html: refactor
This commit is contained in:
commit
1308d628e8
@ -1,12 +1,10 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, nix-update-script
|
||||
|
||||
, setuptools
|
||||
, wheel
|
||||
|
||||
, fetchPypi
|
||||
, jinja2
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -14,27 +12,31 @@ buildPythonPackage rec {
|
||||
version = "30.1.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-1q6KpKdrZvp8XvxGCkoorlZDDgvGg/imTX8+NEOBbWs=";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jinja2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "junit2htmlreport" ];
|
||||
# Tests are not shipped with PyPi and source is not tagged
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"junit2htmlreport"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate HTML reports from Junit results";
|
||||
homepage = "https://pypi.org/project/junit2html/";
|
||||
homepage = "https://gitlab.com/inorton/junit2html";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ otavio ];
|
||||
mainProgram = "junit2html";
|
||||
|
Loading…
Reference in New Issue
Block a user