python3Packages.azure-mgmt-containerservice: disable on older Python releases
This commit is contained in:
parent
c08900703d
commit
1abf65b169
1 changed files with 7 additions and 4 deletions
|
@ -6,12 +6,15 @@
|
||||||
, azure-common
|
, azure-common
|
||||||
, azure-mgmt-core
|
, azure-mgmt-core
|
||||||
, azure-mgmt-nspkg
|
, azure-mgmt-nspkg
|
||||||
, isPy3k
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "azure-mgmt-containerservice";
|
pname = "azure-mgmt-containerservice";
|
||||||
version = "18.0.0";
|
version = "18.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -24,14 +27,14 @@ buildPythonPackage rec {
|
||||||
msrestazure
|
msrestazure
|
||||||
azure-common
|
azure-common
|
||||||
azure-mgmt-core
|
azure-mgmt-core
|
||||||
] ++ lib.optionals (!isPy3k) [
|
|
||||||
azure-mgmt-nspkg
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "azure.mgmt.containerservice" ];
|
pythonImportsCheck = [
|
||||||
|
"azure.mgmt.containerservice"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This is the Microsoft Azure Container Service Management Client Library";
|
description = "This is the Microsoft Azure Container Service Management Client Library";
|
||||||
|
|
Loading…
Reference in a new issue