Unverified Commit 09e42015 authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

Merge pull request #264425 from otavio/junit2html

python3Packages.junit2html: init at 30.1.3
parents 2784272f e4bb5ab6
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ 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";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };