python310Packages.google-cloud-videointelligence: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-10-04 08:49:28 +02:00 committed by GitHub
parent df4acb2c9a
commit 0a986acdb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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