1{ lib, buildPythonPackage, fetchPypi
2, grpc_google_iam_v1, google_api_core
3, pytest, mock
4}:
5
6buildPythonPackage rec {
7 pname = "google-cloud-secret-manager";
8 version = "1.0.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "1cm3xqacxnbpv2706bd2jl86mvcsphpjlvhzngz2k2p48a0jjx8r";
13 };
14
15 propagatedBuildInputs = [
16 google_api_core
17 grpc_google_iam_v1
18 ];
19
20 checkInputs = [
21 mock
22 pytest
23 ];
24 checkPhase = ''
25 pytest
26 '';
27
28 meta = with lib; {
29 description = "Secret Manager API: Stores, manages, and secures access to application secrets";
30 homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ siriobalmelli ];
33 };
34}