From 25aa98a67a2a2c8d2cb13c50b62825dd0e2738bd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 21 Feb 2023 08:12:41 +0100 Subject: [PATCH] python310Packages.azure-mgmt-containerregistry: disable on unsupported Python releases --- .../azure-mgmt-containerregistry/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix b/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix index 433635b29e41..2d312ba3e7a5 100644 --- a/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix @@ -1,4 +1,7 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27 +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder , azure-common , azure-mgmt-core , msrest @@ -6,9 +9,11 @@ }: buildPythonPackage rec { - version = "10.1.0"; pname = "azure-mgmt-containerregistry"; - disabled = isPy27; + version = "10.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version;