2021-01-05 14:39:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
2021-08-16 11:54:23 +01:00
|
|
|
, grpc-google-iam-v1
|
2021-01-05 14:39:52 +00:00
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
2020-06-18 21:23:16 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-secret-manager";
|
2021-08-09 22:38:58 +01:00
|
|
|
version = "2.7.0";
|
2020-06-18 21:23:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-09 22:38:58 +01:00
|
|
|
sha256 = "sha256-gfNoCfh2ssHgYcQ1kfQedcfhpqsu3x50hdYrm11SKGo=";
|
2020-06-18 21:23:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-01-06 09:46:48 +00:00
|
|
|
google-api-core
|
2021-08-16 11:54:23 +01:00
|
|
|
grpc-google-iam-v1
|
2020-12-01 06:11:08 +00:00
|
|
|
libcst
|
|
|
|
proto-plus
|
2020-06-18 21:23:16 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
mock
|
2021-01-05 14:39:52 +00:00
|
|
|
pytestCheckHook
|
|
|
|
pytest-asyncio
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.secretmanager"
|
|
|
|
"google.cloud.secretmanager_v1"
|
|
|
|
"google.cloud.secretmanager_v1beta1"
|
2020-06-18 21:23:16 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-01-05 14:39:52 +00:00
|
|
|
description = "Secret Manager API API client library";
|
|
|
|
homepage = "https://github.com/googleapis/python-secret-manager";
|
2020-06-18 21:23:16 +01:00
|
|
|
license = licenses.asl20;
|
2021-01-05 14:39:52 +00:00
|
|
|
maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ];
|
2020-06-18 21:23:16 +01:00
|
|
|
};
|
|
|
|
}
|