1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 future,
6 glibcLocales,
7 lxml,
8 unittestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "junitparser";
13 version = "2.8.0";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "weiwei";
18 repo = pname;
19 rev = version;
20 hash = "sha256-rhDP05GSWT4K6Z2ip8C9+e3WbvBJOwP0vctvANBs7cw=";
21 };
22
23 propagatedBuildInputs = [ future ];
24
25 nativeCheckInputs = [
26 unittestCheckHook
27 lxml
28 glibcLocales
29 ];
30
31 unittestFlagsArray = [ "-v" ];
32
33 meta = with lib; {
34 description = "Manipulates JUnit/xUnit Result XML files";
35 mainProgram = "junitparser";
36 license = licenses.asl20;
37 homepage = "https://github.com/weiwei/junitparser";
38 maintainers = with maintainers; [ multun ];
39 };
40}