2021-01-05 14:39:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google_api_core
|
|
|
|
, grpc_google_iam_v1
|
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
2020-06-18 21:23:16 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-secret-manager";
|
2020-12-07 00:21:09 +00:00
|
|
|
version = "2.1.0";
|
2020-06-18 21:23:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 14:39:52 +00:00
|
|
|
sha256 = "0c2w8ny3n84faq1mq86f16lzqgqbk1977q2f5qxn5a5ccj8v821g";
|
2020-06-18 21:23:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
google_api_core
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|