Commit e0dbdded authored by Fabian Affolter's avatar Fabian Affolter Committed by Jonathan Ringer
Browse files

python310Packages.azure-mgmt-compute: disable on older Python releases

parent 6bd02ded
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -3,16 +3,20 @@
, fetchPypi
, azure-mgmt-common
, azure-mgmt-core
, pythonOlder
}:

buildPythonPackage rec {
  version = "27.1.0";
  pname = "azure-mgmt-compute";
  version = "27.1.0";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "sha256-ixTWYs1hecmvuXrMbW1hXFsH9/nd7HjPUMSl3seXy7E=";
    hash = "sha256-ixTWYs1hecmvuXrMbW1hXFsH9/nd7HjPUMSl3seXy7E=";
  };

  propagatedBuildInputs = [
@@ -20,12 +24,16 @@ buildPythonPackage rec {
    azure-mgmt-core
  ];

  pythonNamespaces = [ "azure.mgmt" ];
  pythonNamespaces = [
    "azure.mgmt"
  ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "azure.mgmt.compute" ];
  pythonImportsCheck = [
    "azure.mgmt.compute"
  ];

  meta = with lib; {
    description = "This is the Microsoft Azure Compute Management Client Library";