python310Packages.junitparser: 1.4.1 -> 2.8.0 (#200443)

This commit is contained in:
Ricardo Steijn
2022-11-22 23:53:07 +01:00
committed by GitHub
parent 865a13959b
commit 58ae822d24

View File

@@ -2,30 +2,32 @@
, buildPythonPackage
, fetchFromGitHub
, future
, python
, glibcLocales
, lxml
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "junitparser";
version = "1.4.1";
version = "2.8.0";
src = fetchFromGitHub {
owner = "gastlygem";
owner = "weiwei";
repo = pname;
rev = version;
sha256 = "16xwayr0rbp7xdg7bzmyf8s7al0dhkbmkcnil66ax7r8bznp5lmp";
hash = "sha256-rhDP05GSWT4K6Z2ip8C9+e3WbvBJOwP0vctvANBs7cw=";
};
propagatedBuildInputs = [ future ];
checkPhase = ''
${python.interpreter} test.py
'';
checkInputs = [ unittestCheckHook lxml glibcLocales ];
unittestFlagsArray = [ "-v" ];
meta = with lib; {
description = "A JUnit/xUnit Result XML Parser";
description = "Manipulates JUnit/xUnit Result XML files";
license = licenses.asl20;
homepage = "https://github.com/gastlygem/junitparser";
homepage = "https://github.com/weiwei/junitparser";
maintainers = with maintainers; [ multun ];
};
}