Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 azure-common, 4 azure-mgmt-core, 5 buildPythonPackage, 6 fetchPypi, 7 isodate, 8 pythonOlder, 9 typing-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-redhatopenshift"; 14 version = "1.5.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-Uft0KcOciKzJ+ic9n4nxkwNSBmKZam19jhEiqY9fJSc="; 22 }; 23 24 propagatedBuildInputs = [ 25 isodate 26 azure-common 27 azure-mgmt-core 28 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 29 30 pythonNamespaces = "azure.mgmt"; 31 32 # Module has no tests 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 = [ ]; 42 }; 43}