1{ 2 lib, 3 azure-core, 4 buildPythonPackage, 5 cryptography, 6 fetchPypi, 7 isodate, 8 pythonOlder, 9 setuptools, 10 typing-extensions, 11}: 12 13buildPythonPackage rec { 14 pname = "azure-storage-file-share"; 15 version = "12.22.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 pname = "azure_storage_file_share"; 22 inherit version; 23 hash = "sha256-5YPI4IbufW7FDMI9r0KDnBjc4Rs2s9E2TBNxTAi1NFI="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 azure-core 30 cryptography 31 isodate 32 typing-extensions 33 ]; 34 35 optional-dependencies = { 36 aio = [ azure-core ] ++ azure-core.optional-dependencies.aio; 37 }; 38 39 # Tests require checkout from monorepo 40 doCheck = false; 41 42 pythonImportsCheck = [ 43 "azure.core" 44 "azure.storage" 45 ]; 46 47 meta = with lib; { 48 description = "Microsoft Azure File Share Storage Client Library for Python"; 49 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-share"; 50 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-share_${version}/sdk/storage/azure-storage-file-share/CHANGELOG.md"; 51 license = licenses.mit; 52 maintainers = with maintainers; [ kamadorueda ]; 53 }; 54}