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