2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-api-core,
|
|
|
|
grpc-google-iam-v1,
|
|
|
|
proto-plus,
|
|
|
|
protobuf,
|
|
|
|
pytest-asyncio,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-secret-manager";
|
2024-10-29 11:11:06 +00:00
|
|
|
version = "2.21.0";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2022-04-15 01:41:22 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-09-19 14:19:46 +00:00
|
|
|
pname = "google_cloud_secret_manager";
|
|
|
|
inherit version;
|
2024-10-29 11:11:06 +00:00
|
|
|
hash = "sha256-0a6E7PmM/DGcmj8QEjVc69GTF7ZizJ3/Giw2I0WAgHs=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
2021-01-09 10:05:03 +00:00
|
|
|
google-api-core
|
2021-08-18 13:19:15 +00:00
|
|
|
grpc-google-iam-v1
|
2021-01-09 10:05:03 +00:00
|
|
|
proto-plus
|
2023-01-11 07:51:40 +00:00
|
|
|
protobuf
|
|
|
|
] ++ google-api-core.optional-dependencies.grpc;
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-01-09 10:05:03 +00:00
|
|
|
pytest-asyncio
|
2023-01-11 07:51:40 +00:00
|
|
|
pytestCheckHook
|
2021-01-09 10:05:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.secretmanager"
|
|
|
|
"google.cloud.secretmanager_v1"
|
|
|
|
"google.cloud.secretmanager_v1beta1"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Secret Manager API API client library";
|
2024-01-25 14:12:00 +00:00
|
|
|
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-secret-manager";
|
|
|
|
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-secret-manager-v${version}/packages/google-cloud-secret-manager/CHANGELOG.md";
|
2021-01-09 10:05:03 +00:00
|
|
|
license = licenses.asl20;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ siriobalmelli ];
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|