1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-api-core 5, libcst 6, mock 7, proto-plus 8, pytestCheckHook 9, pytest-asyncio 10}: 11 12buildPythonPackage rec { 13 pname = "google-cloud-redis"; 14 version = "2.5.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "c5aaf6dbdf8bb1425bd42ef482a6c0ecc4b4d1718d49267d510799015c6ff1d2"; 19 }; 20 21 propagatedBuildInputs = [ google-api-core libcst proto-plus ]; 22 23 checkInputs = [ mock pytestCheckHook pytest-asyncio ]; 24 25 pythonImportsCheck = [ 26 "google.cloud.redis" 27 "google.cloud.redis_v1" 28 "google.cloud.redis_v1beta1" 29 ]; 30 31 meta = with lib; { 32 description = "Google Cloud Memorystore for Redis API client library"; 33 homepage = "https://github.com/googleapis/python-redis"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ SuperSandro2000 ]; 36 }; 37}