Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, mock 6, pbr 7, pyyaml 8, six 9, multi_key_dict 10, testtools 11, testscenarios 12, testrepository 13, kerberos 14, requests 15, unittest2 16, requests-mock 17}: 18 19buildPythonPackage rec { 20 pname = "python-jenkins"; 21 version = "1.4.0"; 22 23 src = fetchPypi { 24 inherit pname version; 25 sha256 = "1h14hfcwichmppbgxf1k8njw29hchpav1kj574b4lly3j0n2vnag"; 26 }; 27 28 buildInputs = [ mock ]; 29 propagatedBuildInputs = [ pbr pyyaml six multi_key_dict requests ]; 30 31 checkInputs = [ unittest2 testscenarios requests-mock ]; 32 checkPhase = '' 33 unit2 34 ''; 35 36 meta = with lib; { 37 description = "Python bindings for the remote Jenkins API"; 38 homepage = https://pypi.python.org/pypi/python-jenkins; 39 license = licenses.bsd3; 40 maintainers = with maintainers; [ ma27 ]; 41 }; 42 43}