Unverified Commit cedcd620 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

parent 4461bbcc
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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