1{ lib
2, buildPythonPackage
3, fetchPypi
4, google-api-core
5, grpc-google-iam-v1
6, libcst
7, mock
8, proto-plus
9, pytestCheckHook
10, pytest-asyncio
11}:
12
13buildPythonPackage rec {
14 pname = "google-cloud-secret-manager";
15 version = "2.8.0";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "e8a3fb7c2a1595f59923661c568667d1ba40fcaaa4dd55fe8b1f5e54871e9460";
20 };
21
22 propagatedBuildInputs = [
23 google-api-core
24 grpc-google-iam-v1
25 libcst
26 proto-plus
27 ];
28
29 checkInputs = [
30 mock
31 pytestCheckHook
32 pytest-asyncio
33 ];
34
35 pythonImportsCheck = [
36 "google.cloud.secretmanager"
37 "google.cloud.secretmanager_v1"
38 "google.cloud.secretmanager_v1beta1"
39 ];
40
41 meta = with lib; {
42 description = "Secret Manager API API client library";
43 homepage = "https://github.com/googleapis/python-secret-manager";
44 license = licenses.asl20;
45 maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ];
46 };
47}