python311Packages.azure-mgmt-iothub: disable on unsupported Python releases
This commit is contained in:
parent
4461bbccec
commit
cedcd620c5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue