python3Packages.azure-mgmt-containerservice: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent c08900703d
commit 1abf65b169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      pkgs/development/python-modules/azure-mgmt-containerservice/default.nix

@ -6,12 +6,15 @@
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
, isPy3k
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "18.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
@ -24,14 +27,14 @@ buildPythonPackage rec {
msrestazure
azure-common
azure-mgmt-core
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.containerservice" ];
pythonImportsCheck = [
"azure.mgmt.containerservice"
];
meta = with lib; {
description = "This is the Microsoft Azure Container Service Management Client Library";

Loading…
Cancel
Save