1{ 2 lib, 3 azure-common, 4 azure-core, 5 buildPythonPackage, 6 cryptography, 7 fetchPypi, 8 msrest, 9 msrestazure, 10 pythonOlder, 11 requests, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "azure-multiapi-storage"; 17 version = "1.2.0"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-CQuoWHeh0EMitTRsvifotrTwpWd/Q9LWWD7jZ2w9r8I="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 azure-common 31 azure-core 32 cryptography 33 msrest 34 msrestazure 35 requests 36 ]; 37 38 # fix namespace 39 pythonNamespaces = [ "azure.multiapi" ]; 40 41 # no tests included 42 doCheck = false; 43 44 pythonImportsCheck = [ 45 "azure.common" 46 "azure.multiapi.storage" 47 ]; 48 49 meta = with lib; { 50 description = "Microsoft Azure Storage Client Library for Python with multi API version support."; 51 homepage = "https://github.com/Azure/azure-sdk-for-python"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ jonringer ]; 54 }; 55}