depot/third_party/nixpkgs/pkgs/development/python-modules/junit2html/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
jinja2,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "junit2html";
version = "30.1.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-1q6KpKdrZvp8XvxGCkoorlZDDgvGg/imTX8+NEOBbWs=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ jinja2 ];
# 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://gitlab.com/inorton/junit2html";
license = licenses.mit;
maintainers = with maintainers; [ otavio ];
mainProgram = "junit2html";
};
}