From 4461bbccec34e661daf3c6e08418f041664a599d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 May 2023 05:38:42 +0000 Subject: [PATCH 1/2] python311Packages.azure-mgmt-iothub: 2.3.0 -> 2.4.0 --- pkgs/development/python-modules/azure-mgmt-iothub/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-iothub/default.nix b/pkgs/development/python-modules/azure-mgmt-iothub/default.nix index 5539fe103673..f7028553ecbe 100644 --- a/pkgs/development/python-modules/azure-mgmt-iothub/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-iothub/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "azure-mgmt-iothub"; - version = "2.3.0"; + version = "2.4.0"; src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-ml+koj52l5o0toAcnsGtsw0tGnO5F/LKq56ovzdmx/A="; + hash = "sha256-enpNE5kVyGK+ctrGt1gt6633rNvT9FM76kSQ7prb1Wo="; }; propagatedBuildInputs = [ From cedcd620c50b0cca699373cb4d9186670e8b4455 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 15 May 2023 09:02:00 +0200 Subject: [PATCH 2/2] python311Packages.azure-mgmt-iothub: disable on unsupported Python releases --- .../python-modules/azure-mgmt-iothub/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-iothub/default.nix b/pkgs/development/python-modules/azure-mgmt-iothub/default.nix index f7028553ecbe..e4e3ae6374c9 100644 --- a/pkgs/development/python-modules/azure-mgmt-iothub/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-iothub/default.nix @@ -6,12 +6,15 @@ , azure-common , azure-mgmt-core , azure-mgmt-nspkg -, isPy3k +, pythonOlder }: buildPythonPackage rec { pname = "azure-mgmt-iothub"; version = "2.4.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; @@ -24,8 +27,6 @@ buildPythonPackage rec { azure-mgmt-core msrest msrestazure - ] ++ lib.optionals (!isPy3k) [ - azure-mgmt-nspkg ]; # has no tests