diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-02-06 14:58:49 +0100 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-02-08 00:47:18 +0000 |
commit | 895f9d3b732a036103caff84945b53359eba8392 (patch) | |
tree | 8bf636c23e4e1f0e4bdf0ff62abebc53f5198f9b /pkgs/development/python-modules/python-jenkins | |
parent | 57044969535afec809d0a9786424e9aab1254908 (diff) | |
download | nixpkgs-895f9d3b732a036103caff84945b53359eba8392.tar nixpkgs-895f9d3b732a036103caff84945b53359eba8392.tar.gz nixpkgs-895f9d3b732a036103caff84945b53359eba8392.tar.bz2 nixpkgs-895f9d3b732a036103caff84945b53359eba8392.tar.lz nixpkgs-895f9d3b732a036103caff84945b53359eba8392.tar.xz nixpkgs-895f9d3b732a036103caff84945b53359eba8392.tar.zst nixpkgs-895f9d3b732a036103caff84945b53359eba8392.zip |
python3Packages.python-jenkins: 1.3.0 -> 1.4.0
Updates to the most recent version of `python-jenkins`. It was originally broken during the auto-update in b4588c6a0f2aba6da8cf52c2aef52a4fda6bdb89. The tests could be run by using `unittest2` and some dependencies for the test framwork.
Diffstat (limited to 'pkgs/development/python-modules/python-jenkins')
-rw-r--r-- | pkgs/development/python-modules/python-jenkins/default.nix | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/python-jenkins/default.nix b/pkgs/development/python-modules/python-jenkins/default.nix index cdce1b33718..44f1c0d6c39 100644 --- a/pkgs/development/python-modules/python-jenkins/default.nix +++ b/pkgs/development/python-modules/python-jenkins/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib , buildPythonPackage , fetchPypi , python @@ -11,28 +11,33 @@ , testscenarios , testrepository , kerberos +, requests +, unittest2 +, requests-mock }: buildPythonPackage rec { pname = "python-jenkins"; - version = "1.3.0"; + version = "1.4.0"; src = fetchPypi { inherit pname version; - sha256 = "b44b3c8e0dabed371a1a8a301cc8833c635625faf003fd68c176800c71a6597c"; + sha256 = "1h14hfcwichmppbgxf1k8njw29hchpav1kj574b4lly3j0n2vnag"; }; - patchPhase = '' - sed -i 's@python@${python.interpreter}@' .testr.conf - ''; - buildInputs = [ mock ]; - propagatedBuildInputs = [ pbr pyyaml six multi_key_dict testtools testscenarios testrepository kerberos ]; + propagatedBuildInputs = [ pbr pyyaml six multi_key_dict requests ]; + + checkInputs = [ unittest2 testscenarios requests-mock ]; + checkPhase = '' + unit2 + ''; - meta = with stdenv.lib; { + 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; [ ma27 ]; }; } |