From 9d9702de2b25450d32f237fdaaad7964cd2c1597 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 19 May 2024 20:44:16 +0000 Subject: [PATCH 1/3] python311Packages.azure-storage-file-share: 12.15.0 -> 12.16.0 --- .../python-modules/azure-storage-file-share/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..1749150766e4 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "azure-storage-file-share"; - version = "12.15.0"; + version = "12.16.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-AJjxz6k0TE94HODNUE/zo1JVdRVTwB5yDczQyqjYqio="; + hash = "sha256-QS+35sPCj29yKvmBlapZQHqqMjI6+hOkoB9i0Lh3TrM="; }; propagatedBuildInputs = [ From 11c9320791c85daec91c1a84ae1232897e5a00d0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 May 2024 08:45:56 +0200 Subject: [PATCH 2/3] python311Packages.azure-storage-file-share: refactor --- .../azure-storage-file-share/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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 1749150766e4..40976f70c791 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -6,28 +6,39 @@ , isodate , msrest , pythonOlder +, setuptools , typing-extensions }: buildPythonPackage rec { pname = "azure-storage-file-share"; version = "12.16.0"; - format = "setuptools"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; 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 +49,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 ]; From 8c656077f84449470b9a415c6eef5f06a60c4dc0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 May 2024 08:46:12 +0200 Subject: [PATCH 3/3] python312Packages.azure-storage-file-share: format with nixfmt --- .../azure-storage-file-share/default.nix | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) 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 40976f70c791..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,13 +1,14 @@ -{ lib -, azure-core -, buildPythonPackage -, cryptography -, fetchPypi -, isodate -, msrest -, pythonOlder -, setuptools -, typing-extensions +{ + lib, + azure-core, + buildPythonPackage, + cryptography, + fetchPypi, + isodate, + msrest, + pythonOlder, + setuptools, + typing-extensions, }: buildPythonPackage rec { @@ -22,9 +23,7 @@ buildPythonPackage rec { hash = "sha256-QS+35sPCj29yKvmBlapZQHqqMjI6+hOkoB9i0Lh3TrM="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ azure-core @@ -34,9 +33,7 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - aio = [ - azure-core - ] ++ azure-core.optional-dependencies.aio; + aio = [ azure-core ] ++ azure-core.optional-dependencies.aio; }; # Tests require checkout from monorepo