From df4acb2c9ae5c31a7775ab2b7dfe3ef9b084ef17 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 4 Oct 2022 01:31:22 +0000 Subject: [PATCH 1/2] python310Packages.google-cloud-videointelligence: 2.8.1 -> 2.8.2 --- .../python-modules/google-cloud-videointelligence/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-videointelligence/default.nix b/pkgs/development/python-modules/google-cloud-videointelligence/default.nix index 0af930a08f2d..af018a2416db 100644 --- a/pkgs/development/python-modules/google-cloud-videointelligence/default.nix +++ b/pkgs/development/python-modules/google-cloud-videointelligence/default.nix @@ -11,11 +11,11 @@ buildPythonPackage rec { pname = "google-cloud-videointelligence"; - version = "2.8.1"; + version = "2.8.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-I86T4Zw7y4pn5ixy+RM6LBMTEGuv7LR2uE2mwoEeCh0="; + sha256 = "sha256-NqElDocBlpARYFTK4k47kCsC/7D1048rNYrrARHeWmg="; }; propagatedBuildInputs = [ google-api-core proto-plus ]; From 0a986acdb60e4b371c6b0bda0e91aa62f8b45a95 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 4 Oct 2022 08:49:28 +0200 Subject: [PATCH 2/2] python310Packages.google-cloud-videointelligence: disable on older Python releases --- .../google-cloud-videointelligence/default.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-videointelligence/default.nix b/pkgs/development/python-modules/google-cloud-videointelligence/default.nix index af018a2416db..4738926e9d5c 100644 --- a/pkgs/development/python-modules/google-cloud-videointelligence/default.nix +++ b/pkgs/development/python-modules/google-cloud-videointelligence/default.nix @@ -7,20 +7,32 @@ , proto-plus , pytestCheckHook , pytest-asyncio +, pythonOlder }: buildPythonPackage rec { pname = "google-cloud-videointelligence"; version = "2.8.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-NqElDocBlpARYFTK4k47kCsC/7D1048rNYrrARHeWmg="; + hash = "sha256-NqElDocBlpARYFTK4k47kCsC/7D1048rNYrrARHeWmg="; }; - propagatedBuildInputs = [ google-api-core proto-plus ]; + propagatedBuildInputs = [ + google-api-core + proto-plus + ]; - checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ]; + checkInputs = [ + google-cloud-testutils + mock + pytestCheckHook + pytest-asyncio + ]; disabledTests = [ # require credentials