pythonPackages.azure-storage-blob: init at 1.4.0
commit96c408b7708d9cd2d7833f6b505f05646105bfe4
authorRoger Qiu <roger.qiu@polyhack.io>
dateMon 21 Jan 2019, 12:21 (8 years ago)
parent288407b
pkgs/development/python-modules/azure-storage-blob/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, azure-common
5+, azure-storage-common
6+, isPy3k
7+, futures
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "azure-storage-blob";
12+ version = "1.4.0";
13+
14+ src = fetchPypi {
15+ inherit pname version;
16+ sha256 = "65ebe2e54460566c2077c6b3773a2a0623eabc7b95602010cb51b84077087fda";
17+ };
18+
19+ propagatedBuildInputs = [
20+ azure-common
21+ azure-storage-common
22+ ] ++ lib.optional (!isPy3k) futures;
23+
24+ # has no tests
25+ doCheck = false;
26+
27+ meta = with lib; {
28+ description = "Client library for Microsoft Azure Storage services containing the blob service APIs";
29+ homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-blob;
30+ license = licenses.mit;
31+ maintainers = with maintainers; [ cmcdragonkai ];
32+ };
33+}
pkgs/top-level/python-packages.nix+2
@@ -242,6 +242,8 @@ in {
242242
243243 azure-storage-common = callPackage ../development/python-modules/azure-storage-common { };
244244
245+ azure-storage-blob = callPackage ../development/python-modules/azure-storage-blob { };
246+
245247 azure-servicemanagement-legacy = callPackage ../development/python-modules/azure-servicemanagement-legacy { };
246248
247249 backports_csv = callPackage ../development/python-modules/backports_csv {};