From b58fd0399058b053931d0e7dd4072275951b5eef Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 25 May 2022 08:48:26 +0200 Subject: [PATCH] python310Packages.azure-mgmt-keyvault: disable on older Python releases --- .../python-modules/azure-mgmt-keyvault/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix index 0b816a079688..200674d1a444 100644 --- a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix @@ -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;