2021-01-05 14:39:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
2021-01-05 14:39:52 +00:00
|
|
|
, 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";
|
2021-03-17 00:31:43 +00:00
|
|
|
version = "2.3.0";
|
2020-06-18 21:23:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-17 00:31:43 +00:00
|
|
|
sha256 = "4df4b7e3f83bc12d6bd29e69608172586b6ddfc7586dd2a2fd70cc4f18ed05c7";
|
2020-06-18 21:23:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-01-06 09:46:48 +00:00
|
|
|
google-api-core
|
2020-06-18 21:23:16 +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
|
|
|
};
|
|
|
|
}
|