about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRoger Qiu <roger.qiu@polyhack.io>2019-01-21 12:20:03 +1100
committerRoger Qiu <roger.qiu@polyhack.io>2019-01-22 16:21:27 +1100
commit288407be95ff6c5cc6773cfc9e21077098f48775 (patch)
tree8eeed466e60f63065c0e004e05537637ac7eea58 /pkgs
parent878122ed3de134dc0bc5d988e32a256b1818709c (diff)
downloadnixlib-288407be95ff6c5cc6773cfc9e21077098f48775.tar
nixlib-288407be95ff6c5cc6773cfc9e21077098f48775.tar.gz
nixlib-288407be95ff6c5cc6773cfc9e21077098f48775.tar.bz2
nixlib-288407be95ff6c5cc6773cfc9e21077098f48775.tar.lz
nixlib-288407be95ff6c5cc6773cfc9e21077098f48775.tar.xz
nixlib-288407be95ff6c5cc6773cfc9e21077098f48775.tar.zst
nixlib-288407be95ff6c5cc6773cfc9e21077098f48775.zip
pythonPackages.azure-storage-common: init at 1.4.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/azure-storage-common/default.nix37
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-storage-common/default.nix b/pkgs/development/python-modules/azure-storage-common/default.nix
new file mode 100644
index 000000000000..6561163c3a2b
--- /dev/null
+++ b/pkgs/development/python-modules/azure-storage-common/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, azure-common
+, cryptography
+, python-dateutil
+, requests
+, isPy3k
+, azure-storage-nspkg
+}:
+
+buildPythonPackage rec {
+  pname = "azure-storage-common";
+  version = "1.4.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "7ab607f9b8fd27b817482194b1e7d43484c65dcf2605aae21ad8706c6891934d";
+  };
+
+  propagatedBuildInputs = [
+    azure-common
+    cryptography
+    python-dateutil
+    requests
+  ] ++ lib.optional (!isPy3k) azure-storage-nspkg;
+
+  # has no tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue";
+    homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-common;
+    license = licenses.mit;
+    maintainers = with maintainers; [ cmcdragonkai ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index d666945c3b7e..53194e97e1e6 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -240,6 +240,8 @@ in {
 
   azure-storage-nspkg = callPackage ../development/python-modules/azure-storage-nspkg { };
 
+  azure-storage-common = callPackage ../development/python-modules/azure-storage-common { };
+
   azure-servicemanagement-legacy = callPackage ../development/python-modules/azure-servicemanagement-legacy { };
 
   backports_csv = callPackage ../development/python-modules/backports_csv {};