{ lib, buildPythonPackage, fetchPypi, google-api-core, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "google-cloud-redis"; version = "2.19.0"; pyproject = true; src = fetchPypi { pname = "google_cloud_redis"; inherit version; hash = "sha256-PG98eUvo/JnrbOPj7nxclqIKaIFO0LgzjidX8jJ0gNc="; }; build-system = [ setuptools ]; dependencies = [ google-api-core proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc; nativeCheckInputs = [ pytestCheckHook pytest-asyncio ]; pythonImportsCheck = [ "google.cloud.redis" "google.cloud.redis_v1" "google.cloud.redis_v1beta1" ]; meta = { description = "Google Cloud Memorystore for Redis API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-redis"; changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-redis-v${version}/packages/google-cloud-redis/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; }; }