diff options
author | Ricardo Steijn <61013287+RicArch97@users.noreply.github.com> | 2022-11-22 23:53:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 23:53:07 +0100 |
commit | 58ae822d2471bc8836030f61d5d76687b217b9a2 (patch) | |
tree | c4738976203e06c0ece4169c3a45677dd2a43ab5 /pkgs | |
parent | 865a13959b627be709fdbbc536e357698b9b712d (diff) |
python310Packages.junitparser: 1.4.1 -> 2.8.0 (#200443)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/junitparser/default.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/junitparser/default.nix b/pkgs/development/python-modules/junitparser/default.nix index 3a712251fc5d2..67d7ed15d5730 100644 --- a/pkgs/development/python-modules/junitparser/default.nix +++ b/pkgs/development/python-modules/junitparser/default.nix @@ -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 ]; }; } |