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