python310Packages.azure-mgmt-compute: disable on older Python releases
This commit is contained in:
parent
6bd02ded16
commit
e0dbdded6e
|
@ -3,16 +3,20 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, azure-mgmt-common
|
, azure-mgmt-common
|
||||||
, azure-mgmt-core
|
, azure-mgmt-core
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "27.1.0";
|
|
||||||
pname = "azure-mgmt-compute";
|
pname = "azure-mgmt-compute";
|
||||||
|
version = "27.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "sha256-ixTWYs1hecmvuXrMbW1hXFsH9/nd7HjPUMSl3seXy7E=";
|
hash = "sha256-ixTWYs1hecmvuXrMbW1hXFsH9/nd7HjPUMSl3seXy7E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -20,12 +24,16 @@ buildPythonPackage rec {
|
||||||
azure-mgmt-core
|
azure-mgmt-core
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonNamespaces = [ "azure.mgmt" ];
|
pythonNamespaces = [
|
||||||
|
"azure.mgmt"
|
||||||
|
];
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "azure.mgmt.compute" ];
|
pythonImportsCheck = [
|
||||||
|
"azure.mgmt.compute"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This is the Microsoft Azure Compute Management Client Library";
|
description = "This is the Microsoft Azure Compute Management Client Library";
|
||||||
|
|
Loading…
Reference in a new issue