1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix
Sirio Balmelli 8c74f97c15 google-cloud-secret-manager: init at 1.0.0
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-06-25 14:32:57 -07:00

35 lines
750 B
Nix

{ lib, buildPythonPackage, fetchPypi
, grpc_google_iam_v1, google_api_core
, pytest, mock
}:
buildPythonPackage rec {
pname = "google-cloud-secret-manager";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1cm3xqacxnbpv2706bd2jl86mvcsphpjlvhzngz2k2p48a0jjx8r";
};
propagatedBuildInputs = [
google_api_core
grpc_google_iam_v1
];
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 ];
};
}