diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-02-21 08:12:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 08:12:41 +0100 |
commit | 25aa98a67a2a2c8d2cb13c50b62825dd0e2738bd (patch) | |
tree | 22a6d1e89a4a6f5646c201a9f4bb6aea5a52c46c | |
parent | 765a1ab24b170cbfa59330ae24a95dc1cf5b5871 (diff) |
python310Packages.azure-mgmt-containerregistry: disable on unsupported Python releases
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix | 11 |
1 files 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 433635b29e411..2d312ba3e7a54 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; |