pythonPackages.junit-xml: init at 1.8

This commit is contained in:
Victor multun Collod 2019-08-30 15:25:43 +02:00 committed by Jon
parent 177894ce59
commit 4a739220a2
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, pytest
, pytest-sugar
}:
buildPythonPackage rec {
pname = "junit-xml";
version = "1.8";
src = fetchPypi {
inherit pname version;
sha256 = "08fw86azza6d3l3nx34kq69cpwmmfqpn7xrb8pdlxmhr1941qbv0";
};
propagatedBuildInputs = [ six ];
checkInputs = [ pytest pytest-sugar ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";
homepage = https://github.com/kyrus/python-junit-xml;
maintainers = with maintainers; [ multun ];
license = licenses.mit;
};
}

View file

@ -779,6 +779,8 @@ in {
jira = callPackage ../development/python-modules/jira { };
junit-xml = callPackage ../development/python-modules/junit-xml { };
junitparser = callPackage ../development/python-modules/junitparser { };
jwcrypto = callPackage ../development/python-modules/jwcrypto { };