3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/junit-xml/default.nix

32 lines
735 B
Nix
Raw Normal View History

2019-08-30 14:25:43 +01:00
{ lib
, buildPythonPackage
2020-06-11 09:48:00 +01:00
, fetchFromGitHub
2019-08-30 14:25:43 +01:00
, six
2020-07-07 13:30:41 +01:00
, pytestCheckHook
2019-08-30 14:25:43 +01:00
}:
buildPythonPackage rec {
pname = "junit-xml";
2020-06-11 09:48:00 +01:00
version = "1.9";
2019-08-30 14:25:43 +01:00
2020-06-11 09:48:00 +01:00
# Only a wheel on PyPI
src = fetchFromGitHub {
owner = "kyrus";
repo = "python-junit-xml";
# No tags...sigh
rev = "856414648cbab3f64e69b856bc25cea8b9aa0377";
sha256 = "1sg03mv7dk3x4mjxjg127vqjmx0ms7v3a5aibxrclxlhmdqcgvb2";
2019-08-30 14:25:43 +01:00
};
propagatedBuildInputs = [ six ];
2020-07-07 13:30:41 +01:00
checkInputs = [ pytestCheckHook ];
2019-08-30 14:25:43 +01:00
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";
2019-08-30 14:25:43 +01:00
maintainers = with maintainers; [ multun ];
license = licenses.mit;
};
}