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 ]; }; }