From 960778ef79b9f00f14c4e4af0043cfe5f1134145 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 May 2022 02:48:09 +0000 Subject: [PATCH 1/2] python310Packages.azure-storage-file-share: 12.7.0 -> 12.8.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 c7c59fd2b9f..a5bb566aa07 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "azure-storage-file-share"; - version = "12.7.0"; + version = "12.8.0"; disabled = !isPy3k; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-kYNugiWNlXEgryKLwrzytca/W+2481RqqUCbdJWrqDI="; + sha256 = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg="; }; propagatedBuildInputs = [ From 5be5a8310957371c90a9eb9cd50e721460f2f9f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 08:33:46 +0200 Subject: [PATCH 2/2] python310Packages.azure-storage-file-share: disable on older Python releases --- .../azure-storage-file-share/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 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 a5bb566aa07..754fbae5522 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -1,7 +1,7 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi -, isPy3k -, lib +, pythonOlder # pythonPackages , azure-core @@ -12,12 +12,14 @@ buildPythonPackage rec { pname = "azure-storage-file-share"; version = "12.8.0"; - disabled = !isPy3k; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg="; + hash = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg="; }; propagatedBuildInputs = [ @@ -28,6 +30,7 @@ buildPythonPackage rec { # requires checkout from monorepo doCheck = false; + pythonImportsCheck = [ "azure.core" "azure.storage" @@ -37,8 +40,6 @@ buildPythonPackage rec { description = "Microsoft Azure File Share Storage Client Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; - maintainers = with maintainers; [ - kamadorueda - ]; + maintainers = with maintainers; [ kamadorueda ]; }; }