about summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-mgmt-redis
diff options
context:
space:
mode:
authorMax Wilson <max.wilson@insight.com>2019-04-29 18:57:44 -0400
committerWael M. Nasreddine <wael.nasreddine@gmail.com>2019-07-16 14:54:32 -0700
commit6730fb4fcb0cb3faa197aa136f7c949ce93ab608 (patch)
tree4235081686651d70802d8ab8babdde9dd70013b6 /pkgs/development/python-modules/azure-mgmt-redis
parentd52b290a28069fa9a57db4290753380bcb1c6da8 (diff)
pythonPackages.azure-mgmt-redis: init at 6.0.0
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-redis')
-rw-r--r--pkgs/development/python-modules/azure-mgmt-redis/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-redis/default.nix b/pkgs/development/python-modules/azure-mgmt-redis/default.nix
new file mode 100644
index 0000000000000..21cdfbafc9228
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-redis/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, msrest
+, msrestazure
+, azure-common
+, azure-mgmt-nspkg
+, isPy3k
+}:
+
+buildPythonPackage rec {
+  pname = "azure-mgmt-redis";
+  version = "6.0.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    extension = "zip";
+    sha256 = "db999e104edeee3a13a8ceb1881e15196fe03a02635e0e20855eb52c1e2ecca1";
+  };
+
+  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 Redis Cache Management Client Library";
+    homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/redis?view=azure-python;
+    license = licenses.mit;
+    maintainers = with maintainers; [ mwilsoninsight ];
+  };
+}