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

This commit is contained in:
Fabian Affolter 2022-05-25 08:48:26 +02:00 committed by GitHub
parent 77fb2cb481
commit b58fd03990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,18 +4,21 @@
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, azure-mgmt-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-mgmt-keyvault";
version = "10.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-ALaVll2198a6DjOpzaHobE22N78Qe5koYYLxCtFiwaM=";
hash = "sha256-ALaVll2198a6DjOpzaHobE22N78Qe5koYYLxCtFiwaM=";
};
propagatedBuildInputs = [
@ -23,10 +26,11 @@ buildPythonPackage rec {
msrestazure
azure-common
azure-mgmt-core
azure-mgmt-nspkg
];
pythonNamespaces = [ "azure.mgmt" ];
pythonNamespaces = [
"azure.mgmt"
];
# has no tests
doCheck = false;