From 4a739220a298e242270edb7ef3f2999db71226dc Mon Sep 17 00:00:00 2001 From: Victor multun Collod Date: Fri, 30 Aug 2019 15:25:43 +0200 Subject: pythonPackages.junit-xml: init at 1.8 --- .../python-modules/junit-xml/default.nix | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/junit-xml/default.nix (limited to 'pkgs/development/python-modules/junit-xml/default.nix') diff --git a/pkgs/development/python-modules/junit-xml/default.nix b/pkgs/development/python-modules/junit-xml/default.nix new file mode 100644 index 00000000000..dcd26fabee7 --- /dev/null +++ b/pkgs/development/python-modules/junit-xml/default.nix @@ -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; + }; +} -- cgit 1.4.1