diff --git a/pkgs/development/python-modules/azure-storage-file-share/default.nix b/pkgs/development/python-modules/azure-storage-file-share/default.nix index b89653fb6781..1f47df6c9e73 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -1,33 +1,41 @@ -{ lib -, azure-core -, buildPythonPackage -, cryptography -, fetchPypi -, isodate -, msrest -, pythonOlder -, typing-extensions +{ + lib, + azure-core, + buildPythonPackage, + cryptography, + fetchPypi, + isodate, + msrest, + pythonOlder, + setuptools, + typing-extensions, }: buildPythonPackage rec { pname = "azure-storage-file-share"; - version = "12.15.0"; - format = "setuptools"; + version = "12.16.0"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-AJjxz6k0TE94HODNUE/zo1JVdRVTwB5yDczQyqjYqio="; + hash = "sha256-QS+35sPCj29yKvmBlapZQHqqMjI6+hOkoB9i0Lh3TrM="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ azure-core cryptography isodate typing-extensions ]; + passthru.optional-dependencies = { + aio = [ azure-core ] ++ azure-core.optional-dependencies.aio; + }; + # Tests require checkout from monorepo doCheck = false; @@ -38,7 +46,7 @@ buildPythonPackage rec { meta = with lib; { description = "Microsoft Azure File Share Storage Client Library for Python"; - homepage = "https://github.com/Azure/azure-sdk-for-python"; + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-share"; changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-share_${version}/sdk/storage/azure-storage-file-share/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ kamadorueda ];