mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python310Packages.junitparser: 1.4.1 -> 2.8.0 (#200443)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user