2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
future,
|
|
|
|
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 ];
|
|
|
|
|
2024-06-05 15:53:02 +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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "junitparser";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|