From 91a4ee458d63243d8d6a9283f9c6ba847c779e0a Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Sat, 31 Dec 2022 22:36:27 -0600 Subject: [PATCH 1/2] python3Packages.azure-storage-blob: 12.13.1 -> 12.14.1 --- .../development/python-modules/azure-storage-blob/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-blob/default.nix b/pkgs/development/python-modules/azure-storage-blob/default.nix index 3b3499a780f0..44bb343a23f3 100644 --- a/pkgs/development/python-modules/azure-storage-blob/default.nix +++ b/pkgs/development/python-modules/azure-storage-blob/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "azure-storage-blob"; - version = "12.13.1"; + version = "12.14.1"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-iZxLjiZxgS0s948QdVaifbsSjKqiuwYJTnKj1YNnQK8="; + sha256 = "sha256-hg1NgphaS/x9MnHnEnWvMw9U8zCnVDVUNae6dJzN6Zc="; }; propagatedBuildInputs = [ From 4c957878fc16e8cc9ddee27eb72377a65eca387c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 2 Jan 2023 10:19:32 +0100 Subject: [PATCH 2/2] python30Packages.azure-storage-blob: add changelog to meta - disable on unsupporte Python releases - adjust inputs --- .../azure-storage-blob/default.nix | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-blob/default.nix b/pkgs/development/python-modules/azure-storage-blob/default.nix index 44bb343a23f3..f8f7f2f403b2 100644 --- a/pkgs/development/python-modules/azure-storage-blob/default.nix +++ b/pkgs/development/python-modules/azure-storage-blob/default.nix @@ -1,37 +1,46 @@ { lib -, buildPythonPackage -, fetchPypi , azure-common , azure-core , azure-storage-common +, buildPythonPackage +, cryptography +, fetchPypi +, isodate , msrest -, isPy3k -, futures ? null +, pythonOlder +, typing-extensions }: buildPythonPackage rec { pname = "azure-storage-blob"; version = "12.14.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-hg1NgphaS/x9MnHnEnWvMw9U8zCnVDVUNae6dJzN6Zc="; + hash = "sha256-hg1NgphaS/x9MnHnEnWvMw9U8zCnVDVUNae6dJzN6Zc="; }; propagatedBuildInputs = [ azure-common azure-core azure-storage-common + cryptography + isodate msrest - ] ++ lib.optional (!isPy3k) futures; + typing-extensions + ]; - # has no tests + # Module has no tests doCheck = false; meta = with lib; { description = "Client library for Microsoft Azure Storage services containing the blob service APIs"; homepage = "https://github.com/Azure/azure-sdk-for-python"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-blob_${version}/sdk/storage/azure-storage-blob/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ cmcdragonkai maxwilson ]; };