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