From 56e02acbb221bf7de7fc955b26a88e28181e9c7f Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Wed, 22 Jun 2022 15:22:35 +0200 Subject: [PATCH] python3Packages.python-jenkins: remove deprecated unittest2 Signed-off-by: Florian Brandes --- .../python-modules/python-jenkins/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/python-jenkins/default.nix b/pkgs/development/python-modules/python-jenkins/default.nix index 7c1d64fc827..dad933966ae 100644 --- a/pkgs/development/python-modules/python-jenkins/default.nix +++ b/pkgs/development/python-modules/python-jenkins/default.nix @@ -10,8 +10,8 @@ , multi_key_dict , testscenarios , requests -, unittest2 , requests-mock +, stestr }: buildPythonPackage rec { @@ -33,16 +33,16 @@ buildPythonPackage rec { buildInputs = [ mock ]; propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ]; - checkInputs = [ unittest2 testscenarios requests-mock ]; - checkPhase = '' - unit2 - ''; + checkInputs = [ stestr testscenarios requests-mock ]; + checkPhase = '' + stestr run + ''; meta = with lib; { description = "Python bindings for the remote Jenkins API"; homepage = "https://pypi.python.org/pypi/python-jenkins"; license = licenses.bsd3; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ gador ]; }; }