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

This commit is contained in:
Fabian Affolter 2022-06-10 19:43:25 +02:00 committed by Jonathan Ringer
parent 6bd02ded16
commit e0dbdded6e

View file

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