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