Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 830 B view raw
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.1.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "957f436986275dcc82483906b424dcabe8d1f8c08ae5c9677bf7547a314b0a59"; 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}