2020-06-18 21:23:16 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-12-01 06:11:08 +00:00
|
|
|
, grpc_google_iam_v1, google_api_core, libcst, proto-plus
|
2020-06-18 21:23:16 +01:00
|
|
|
, pytest, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-secret-manager";
|
2020-12-07 00:21:09 +00:00
|
|
|
version = "2.1.0";
|
2020-06-18 21:23:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 00:21:09 +00:00
|
|
|
sha256 = "2f08b49164aca8623b2e4ee07352980b3ffca909ce205c03568e203bbc455c30";
|
2020-06-18 21:23:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
google_api_core
|
|
|
|
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
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Secret Manager API: Stores, manages, and secures access to application secrets";
|
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ siriobalmelli ];
|
|
|
|
};
|
|
|
|
}
|