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