Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-redis / default.nix
blob8787eb6779a1c8a13f7914e29cc6a4fefbe6c893
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , libcst
6 , mock
7 , proto-plus
8 , pytestCheckHook
9 , pytest-asyncio
12 buildPythonPackage rec {
13   pname = "google-cloud-redis";
14   version = "2.1.0";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "957f436986275dcc82483906b424dcabe8d1f8c08ae5c9677bf7547a314b0a59";
19   };
21   propagatedBuildInputs = [ google-api-core libcst proto-plus ];
23   checkInputs = [ mock pytestCheckHook pytest-asyncio ];
25   pythonImportsCheck = [
26     "google.cloud.redis"
27     "google.cloud.redis_v1"
28     "google.cloud.redis_v1beta1"
29   ];
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   };