summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/google-cloud-secret-manager
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-06 10:46:48 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-06 23:59:50 +0100
commitac391fdc0bad04e7c83c53eb2ef527c8bc9d16cb (patch)
tree4c3d2acf80ff6876cf447dc6c144c6fe8079986a /pkgs/development/python-modules/google-cloud-secret-manager
parentpythonPackages.google_cloud_bigquery: Cleanups (diff)
downloadnixpkgs-ac391fdc0bad04e7c83c53eb2ef527c8bc9d16cb.tar.gz
pythonPackages:google*: Noramlize names by replacing _ with -
Diffstat (limited to 'pkgs/development/python-modules/google-cloud-secret-manager')
-rw-r--r--pkgs/development/python-modules/google-cloud-secret-manager/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google-cloud-secret-manager/default.nix b/pkgs/development/python-modules/google-cloud-secret-manager/default.nix
new file mode 100644
index 000000000000..bb18b72caad6
--- /dev/null
+++ b/pkgs/development/python-modules/google-cloud-secret-manager/default.nix
@@ -0,0 +1,47 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, google-api-core
+, grpc_google_iam_v1
+, libcst
+, mock
+, proto-plus
+, pytestCheckHook
+, pytest-asyncio
+}:
+
+buildPythonPackage rec {
+ pname = "google-cloud-secret-manager";
+ version = "2.1.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0c2w8ny3n84faq1mq86f16lzqgqbk1977q2f5qxn5a5ccj8v821g";
+ };
+
+ propagatedBuildInputs = [
+ google-api-core
+ grpc_google_iam_v1
+ libcst
+ proto-plus
+ ];
+
+ checkInputs = [
+ mock
+ pytestCheckHook
+ pytest-asyncio
+ ];
+
+ pythonImportsCheck = [
+ "google.cloud.secretmanager"
+ "google.cloud.secretmanager_v1"
+ "google.cloud.secretmanager_v1beta1"
+ ];
+
+ meta = with lib; {
+ description = "Secret Manager API API client library";
+ homepage = "https://github.com/googleapis/python-secret-manager";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ];
+ };
+}