about summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-mgmt-monitor
diff options
context:
space:
mode:
authorMax Wilson <max.wilson@insight.com>2019-04-29 18:51:26 -0400
committerWael M. Nasreddine <wael.nasreddine@gmail.com>2019-07-16 14:54:23 -0700
commit9977c6cf19e35557f0f95fb51368922e4cbfa377 (patch)
treef2d25815a99db2a768ca255ada9a0bec67d1987b /pkgs/development/python-modules/azure-mgmt-monitor
parent92425a94b1536054e97cfcf78674a783fa990435 (diff)
pythonPackages.azure-mgmt-monitor: init at 0.6.0
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-monitor')
-rw-r--r--pkgs/development/python-modules/azure-mgmt-monitor/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-monitor/default.nix b/pkgs/development/python-modules/azure-mgmt-monitor/default.nix
new file mode 100644
index 0000000000000..0a6f045dc4b79
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-monitor/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, msrest
+, msrestazure
+, azure-common
+, azure-mgmt-nspkg
+, isPy3k
+}:
+
+buildPythonPackage rec {
+  pname = "azure-mgmt-monitor";
+  version = "0.6.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    extension = "zip";
+    sha256 = "5a804dae2c3e31bfd6f1b0482d49761b9a56f7eefa9b190cd76ef5fe1d504ef2";
+  };
+
+  propagatedBuildInputs = [
+    msrest
+    msrestazure
+    azure-common
+  ] ++ lib.optionals (!isPy3k) [
+    azure-mgmt-nspkg
+  ];
+
+  # has no tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "This is the Microsoft Azure Monitor Client Library";
+    homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/monitoring?view=azure-python;
+    license = licenses.mit;
+    maintainers = with maintainers; [ mwilsoninsight ];
+  };
+}