nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix

37 lines
808 B
Nix

{ lib, buildPythonPackage, fetchPypi
, grpc_google_iam_v1, google_api_core, libcst, proto-plus
, pytest, mock
}:
buildPythonPackage rec {
pname = "google-cloud-secret-manager";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "2f08b49164aca8623b2e4ee07352980b3ffca909ce205c03568e203bbc455c30";
};
propagatedBuildInputs = [
google_api_core
grpc_google_iam_v1
libcst
proto-plus
];
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 ];
};
}