aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix b/nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix
new file mode 100644
index 00000000000..513b76bafa4
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/google_cloud_secret_manager/default.nix
@@ -0,0 +1,34 @@
+{ 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 ];
+ };
+}