1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/python-jenkins/default.nix
Maximilian Bosch 895f9d3b73 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 b4588c6a0f.

The tests could be run by using `unittest2` and some dependencies for
the test framwork.
2019-02-08 00:47:18 +00:00

44 lines
808 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
, mock
, pbr
, pyyaml
, six
, multi_key_dict
, testtools
, testscenarios
, testrepository
, kerberos
, requests
, unittest2
, requests-mock
}:
buildPythonPackage rec {
pname = "python-jenkins";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1h14hfcwichmppbgxf1k8njw29hchpav1kj574b4lly3j0n2vnag";
};
buildInputs = [ mock ];
propagatedBuildInputs = [ pbr pyyaml six multi_key_dict requests ];
checkInputs = [ unittest2 testscenarios requests-mock ];
checkPhase = ''
unit2
'';
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 ];
};
}