Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, msrest 6, msrestazure 7, azure-common 8, azure-mgmt-core 9, isPy27 10}: 11 12buildPythonPackage rec { 13 version = "1.0.0"; 14 pname = "azure-mgmt-redhatopenshift"; 15 disabled = isPy27; # don't feel like fixing namespace issues on python2 16 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 sha256 = "94cd41f1ebd82e40620fd3e6d88f666b5c19ac7cf8b4e8edadb9721bd7c80980"; 21 }; 22 23 propagatedBuildInputs = [ 24 msrest 25 msrestazure 26 azure-common 27 azure-mgmt-core 28 ]; 29 30 pythonNamespaces = "azure.mgmt"; 31 32 # no included 33 doCheck = false; 34 35 pythonImportsCheck = [ "azure.mgmt.redhatopenshift" ]; 36 37 meta = with lib; { 38 description = "Microsoft Azure Red Hat Openshift Management Client Library for Python"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ jonringer ]; 42 }; 43}