Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 39 lines 753 B view raw
1{ 2 lib 3 , buildPythonPackage 4 , fetchPypi 5 , jinja2 6 , kubernetes 7 , ruamel-yaml 8 , six 9 , python-string-utils 10}: 11 12buildPythonPackage rec { 13 pname = "openshift"; 14 version = "0.12.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-aggRnD4goiZJPp4cngp8AIrJC/V46378cwUSfq8Xml4="; 19 }; 20 21 propagatedBuildInputs = [ 22 jinja2 23 kubernetes 24 python-string-utils 25 ruamel-yaml 26 six 27 ]; 28 29 # tries to connect to the network 30 doCheck = false; 31 pythonImportsCheck = ["openshift"]; 32 33 meta = with lib; { 34 description = "Python client for the OpenShift API"; 35 homepage = "https://github.com/openshift/openshift-restclient-python"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ teto ]; 38 }; 39}