From 8654c0cad07c61ad6c01dfc3a5d994c1d51749e2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 1 Mar 2022 10:14:54 +0100 Subject: [PATCH] python3Packages.google-cloud-automl: disable on older Python releases --- .../python-modules/google-cloud-automl/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/google-cloud-automl/default.nix b/pkgs/development/python-modules/google-cloud-automl/default.nix index bc0aec0a6a72..03022877a244 100644 --- a/pkgs/development/python-modules/google-cloud-automl/default.nix +++ b/pkgs/development/python-modules/google-cloud-automl/default.nix @@ -10,15 +10,19 @@ , proto-plus , pytest-asyncio , mock +, pythonOlder }: buildPythonPackage rec { pname = "google-cloud-automl"; version = "2.7.1"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-NHjHzZm20jDdIg91Zr0ytM0V2sHAmZUF0hlD1C9DeSM="; + hash = "sha256-NHjHzZm20jDdIg91Zr0ytM0V2sHAmZUF0hlD1C9DeSM="; }; propagatedBuildInputs = [