summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorKevin Amado <kamadorueda@gmail.com>2020-01-23 21:52:21 -0500
committerJon <jonringer@users.noreply.github.com>2020-01-24 01:53:35 -0800
commit268180742c11c1dbed7e3bfabcfc619ce01255da (patch)
tree4e343fcfbefbf4e36b29b705f5d862c1ab172687 /pkgs
parentd44322f1f3844fbff5833ad07c7c21aae26bd067 (diff)
downloadnixpkgs-268180742c11c1dbed7e3bfabcfc619ce01255da.tar
nixpkgs-268180742c11c1dbed7e3bfabcfc619ce01255da.tar.gz
nixpkgs-268180742c11c1dbed7e3bfabcfc619ce01255da.tar.bz2
nixpkgs-268180742c11c1dbed7e3bfabcfc619ce01255da.tar.lz
nixpkgs-268180742c11c1dbed7e3bfabcfc619ce01255da.tar.xz
nixpkgs-268180742c11c1dbed7e3bfabcfc619ce01255da.tar.zst
nixpkgs-268180742c11c1dbed7e3bfabcfc619ce01255da.zip
pythonPackages.azure-storage-file-share: init at 12.0.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/azure-storage-file-share/default.nix45
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-storage-file-share/default.nix b/pkgs/development/python-modules/azure-storage-file-share/default.nix
new file mode 100644
index 00000000000..78950d2971e
--- /dev/null
+++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix
@@ -0,0 +1,45 @@
+{ buildPythonPackage
+, fetchPypi
+, isPy3k
+, lib
+
+# pythonPackages
+, azure-core
+, cryptography
+, msrest
+, futures
+}:
+
+buildPythonPackage rec {
+  pname = "azure-storage-file-share";
+  version = "12.0.0";
+  disabled = !isPy3k;
+
+  src = fetchPypi {
+    inherit pname version;
+    extension = "zip";
+    sha256 = "15f5vk3vd2amggqqznx186raak9wgr57j0l1p9qa62kcl10bs9lg";
+  };
+
+  propagatedBuildInputs = [
+    azure-core
+    cryptography
+    msrest
+  ];
+
+  # requires checkout from monorepo
+  doCheck = false;
+  pythonImportsCheck = [
+    "azure.core"
+    "azure.storage"
+  ];
+
+  meta = with lib; {
+    description = "Microsoft Azure File Share Storage Client Library for Python";
+    homepage = "https://github.com/Azure/azure-sdk-for-python";
+    license = licenses.mit;
+    maintainers = with maintainers; [
+      kamadorueda
+    ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 2f854138ba1..e1bd47648f0 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -312,6 +312,8 @@ in {
 
   azure-storage-file = callPackage ../development/python-modules/azure-storage-file { };
 
+  azure-storage-file-share = callPackage ../development/python-modules/azure-storage-file-share { };
+
   azure-storage-queue = callPackage ../development/python-modules/azure-storage-queue { };
 
   azure-mgmt-nspkg = callPackage ../development/python-modules/azure-mgmt-nspkg { };