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