From cedcd620c50b0cca699373cb4d9186670e8b4455 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 15 May 2023 09:02:00 +0200 Subject: [PATCH] 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