about summary refs log tree commit diff
path: root/pkgs/development/python-modules/google_cloud_monitoring
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-02 15:48:41 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-20 14:12:15 -0500
commit1e85f64bc223f8060ae3726159a0fb9f9336ae05 (patch)
tree39507397e4d3300a82984c7bc9068f1a09c8987c /pkgs/development/python-modules/google_cloud_monitoring
parentd3609a0610955b95547aa90ffaa3a9d9e4092c04 (diff)
downloadnixlib-1e85f64bc223f8060ae3726159a0fb9f9336ae05.tar
nixlib-1e85f64bc223f8060ae3726159a0fb9f9336ae05.tar.gz
nixlib-1e85f64bc223f8060ae3726159a0fb9f9336ae05.tar.bz2
nixlib-1e85f64bc223f8060ae3726159a0fb9f9336ae05.tar.lz
nixlib-1e85f64bc223f8060ae3726159a0fb9f9336ae05.tar.xz
nixlib-1e85f64bc223f8060ae3726159a0fb9f9336ae05.tar.zst
nixlib-1e85f64bc223f8060ae3726159a0fb9f9336ae05.zip
pythonPackages.google_cloud_monitoring: init at 0.30.1
Diffstat (limited to 'pkgs/development/python-modules/google_cloud_monitoring')
-rw-r--r--pkgs/development/python-modules/google_cloud_monitoring/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google_cloud_monitoring/default.nix b/pkgs/development/python-modules/google_cloud_monitoring/default.nix
new file mode 100644
index 000000000000..5d78bd22b010
--- /dev/null
+++ b/pkgs/development/python-modules/google_cloud_monitoring/default.nix
@@ -0,0 +1,32 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, google_api_core
+, pandas
+, pytest
+, mock
+}:
+
+buildPythonPackage rec {
+  pname = "google-cloud-monitoring";
+  version = "0.30.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "6b26d659360306d51b9fb88c5b1eb77bf49967a37b6348ae9568c083e466274d";
+  };
+
+  checkInputs = [ pytest mock ];
+  propagatedBuildInputs = [ google_api_core pandas ];
+
+  checkPhase = ''
+    pytest tests/unit
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Stackdriver Monitoring API client library";
+    homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
+    license = licenses.asl20;
+    maintainers = [ maintainers.costrouc ];
+  };
+}