2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, future
|
2022-11-27 09:42:12 +00:00
|
|
|
, glibcLocales
|
|
|
|
, lxml
|
|
|
|
, unittestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "junitparser";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "2.8.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-11-27 09:42:12 +00:00
|
|
|
owner = "weiwei";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-11-27 09:42:12 +00:00
|
|
|
hash = "sha256-rhDP05GSWT4K6Z2ip8C9+e3WbvBJOwP0vctvANBs7cw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ future ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook lxml glibcLocales ];
|
2022-11-27 09:42:12 +00:00
|
|
|
|
|
|
|
unittestFlagsArray = [ "-v" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-11-27 09:42:12 +00:00
|
|
|
description = "Manipulates JUnit/xUnit Result XML files";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
2022-11-27 09:42:12 +00:00
|
|
|
homepage = "https://github.com/weiwei/junitparser";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ multun ];
|
|
|
|
};
|
|
|
|
}
|