about summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-mgmt-reservations
diff options
context:
space:
mode:
authorMax Wilson <max.wilson@insight.com>2019-04-29 18:58:55 -0400
committerWael M. Nasreddine <wael.nasreddine@gmail.com>2019-07-16 14:54:34 -0700
commite1f894b0de9fd5452711935c159bce2d2a2715ae (patch)
treee2aa3d1f91661d78af6b2b4902c27e8d65b1e17c /pkgs/development/python-modules/azure-mgmt-reservations
parentb7a690c16493b4b5654ae65fba2b83de2bdce925 (diff)
pythonPackages.azure-mgmt-reservations: init at 0.3.2
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-reservations')
-rw-r--r--pkgs/development/python-modules/azure-mgmt-reservations/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-reservations/default.nix b/pkgs/development/python-modules/azure-mgmt-reservations/default.nix
new file mode 100644
index 0000000000000..be00d4aa418c6
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-reservations/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, msrest
+, msrestazure
+, azure-common
+, azure-mgmt-nspkg
+, isPy3k
+}:
+
+buildPythonPackage rec {
+  pname = "azure-mgmt-reservations";
+  version = "0.3.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    extension = "zip";
+    sha256 = "0nksxjh5kh09dr0zw667fg8mzik4ymvfq3dipwag6pynbqr9ls4l";
+  };
+
+  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 Reservations Client Library";
+    homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-reservations;
+    license = licenses.mit;
+    maintainers = with maintainers; [ mwilsoninsight ];
+  };
+}