Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 44 lines 850 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, azure-mgmt-common 5, azure-mgmt-core 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "azure-mgmt-compute"; 11 version = "29.1.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 hash = "sha256-LVobrn9dMHyh6FDX6D/tnIOdT2NbEKS40/i8YJisKIg="; 20 }; 21 22 propagatedBuildInputs = [ 23 azure-mgmt-common 24 azure-mgmt-core 25 ]; 26 27 pythonNamespaces = [ 28 "azure.mgmt" 29 ]; 30 31 # has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "azure.mgmt.compute" 36 ]; 37 38 meta = with lib; { 39 description = "This is the Microsoft Azure Compute Management Client Library"; 40 homepage = "https://github.com/Azure/azure-sdk-for-python"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ olcai maxwilson ]; 43 }; 44}