summary refs log tree commit diff
path: root/pkgs/development/python-modules/google_cloud_kms
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-02 14:17:53 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-20 14:12:09 -0500
commit53a196bea8a257e14724bdc81b6075930c65cf6d (patch)
tree9c22710b974e519cf9a710744713ad3d7f44c85f /pkgs/development/python-modules/google_cloud_kms
parent855f9d02e563e00e0e565460a17447fb00987eaa (diff)
downloadnixpkgs-53a196bea8a257e14724bdc81b6075930c65cf6d.tar
nixpkgs-53a196bea8a257e14724bdc81b6075930c65cf6d.tar.gz
nixpkgs-53a196bea8a257e14724bdc81b6075930c65cf6d.tar.bz2
nixpkgs-53a196bea8a257e14724bdc81b6075930c65cf6d.tar.lz
nixpkgs-53a196bea8a257e14724bdc81b6075930c65cf6d.tar.xz
nixpkgs-53a196bea8a257e14724bdc81b6075930c65cf6d.tar.zst
nixpkgs-53a196bea8a257e14724bdc81b6075930c65cf6d.zip
pythonPackages.google_cloud_kms: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/google_cloud_kms')
-rw-r--r--pkgs/development/python-modules/google_cloud_kms/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google_cloud_kms/default.nix b/pkgs/development/python-modules/google_cloud_kms/default.nix
new file mode 100644
index 00000000000..d5db318cef3
--- /dev/null
+++ b/pkgs/development/python-modules/google_cloud_kms/default.nix
@@ -0,0 +1,32 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, enum34
+, grpc_google_iam_v1
+, google_api_core
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "google-cloud-kms";
+  version = "0.2.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "add648f9185a8724f8632b3a006ee0af4847a5ab4ca085954ff1d00a8cd2d54c";
+  };
+
+  checkInputs = [ pytest ];
+  propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
+
+  checkPhase = ''
+    pytest tests/unit
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Cloud Key Management Service (KMS) API API client library";
+    homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
+    license = licenses.asl20;
+    maintainers = [ maintainers.costrouc ];
+  };
+}