2020-06-18 20:23:16 +00: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 20:23:16 +00:00
|
|
|
, pytest, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-secret-manager";
|
2020-12-01 06:11:08 +00:00
|
|
|
version = "2.0.0";
|
2020-06-18 20:23:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:29 +00:00
|
|
|
sha256 = "c2b0c93b559c3b6eb2dc75f7ab33d49fad8fe954f6094ac2b14323ce053058f0";
|
2020-06-18 20:23:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
google_api_core
|
|
|
|
grpc_google_iam_v1
|
2020-12-01 06:11:08 +00:00
|
|
|
libcst
|
|
|
|
proto-plus
|
2020-06-18 20:23:16 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|