python311Packages.azure-mgmt-iothub: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter 2023-05-15 09:02:00 +02:00 committed by GitHub
parent 4461bbccec
commit cedcd620c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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