2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-11-02 21:06:12 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-01-06 10:46:48 +01:00
|
|
|
, google-api-core
|
2021-01-05 15:48:04 +01:00
|
|
|
, libcst
|
2019-02-03 11:56:30 +01:00
|
|
|
, mock
|
2021-01-05 15:48:04 +01:00
|
|
|
, proto-plus
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
2018-11-02 21:06:12 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-redis";
|
2020-11-29 15:04:29 +01:00
|
|
|
version = "2.0.0";
|
2018-11-02 21:06:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 15:48:04 +01:00
|
|
|
sha256 = "1f67mr473vzv0qgjm4hycfnrjgiqrsv47vqrynwjy9yrca2130y7";
|
2018-11-02 21:06:12 +01:00
|
|
|
};
|
|
|
|
|
2021-01-06 10:46:48 +01:00
|
|
|
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
2018-11-02 21:06:12 +01:00
|
|
|
|
2021-01-05 15:48:04 +01:00
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
2018-11-02 21:06:12 +01:00
|
|
|
|
2021-01-05 15:48:04 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.redis"
|
|
|
|
"google.cloud.redis_v1"
|
|
|
|
"google.cloud.redis_v1beta1"
|
|
|
|
];
|
2018-11-02 21:06:12 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-11-02 21:06:12 +01:00
|
|
|
description = "Google Cloud Memorystore for Redis API client library";
|
2021-01-05 15:48:04 +01:00
|
|
|
homepage = "https://github.com/googleapis/python-redis";
|
2018-11-02 21:06:12 +01:00
|
|
|
license = licenses.asl20;
|
2021-01-05 15:48:04 +01:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 21:06:12 +01:00
|
|
|
};
|
|
|
|
}
|