1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, six
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "junit-xml";
10 version = "1.9";
11
12 # Only a wheel on PyPI
13 src = fetchFromGitHub {
14 owner = "kyrus";
15 repo = "python-junit-xml";
16 # No tags...sigh
17 rev = "856414648cbab3f64e69b856bc25cea8b9aa0377";
18 sha256 = "1sg03mv7dk3x4mjxjg127vqjmx0ms7v3a5aibxrclxlhmdqcgvb2";
19 };
20
21 propagatedBuildInputs = [ six ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 meta = with lib; {
26 description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";
27 homepage = "https://github.com/kyrus/python-junit-xml";
28 maintainers = with maintainers; [ multun ];
29 license = licenses.mit;
30 };
31}