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