2021-01-09 10:05:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google-api-core
|
|
|
|
, grpc_google_iam_v1
|
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-secret-manager";
|
2021-04-08 16:26:57 +00:00
|
|
|
version = "2.4.0";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-08 16:26:57 +00:00
|
|
|
sha256 = "sha256-/ROngNZJld6iA8WjbJLLNzu5vFWPFUNdTikc70kNkQ4=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
google-api-core
|
|
|
|
grpc_google_iam_v1
|
|
|
|
libcst
|
|
|
|
proto-plus
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-asyncio
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.secretmanager"
|
|
|
|
"google.cloud.secretmanager_v1"
|
|
|
|
"google.cloud.secretmanager_v1beta1"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Secret Manager API API client library";
|
|
|
|
homepage = "https://github.com/googleapis/python-secret-manager";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|