nixpkgs/pkgs/development/python-modules/junit-xml/default.nix

32 lines
735 B
Nix
Raw Normal View History

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