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