1{ lib
2, buildPythonPackage
3, fetchPypi
4, azure-common
5, azure-core
6, azure-storage-common
7, msrest
8, isPy3k
9, futures ? null
10}:
11
12buildPythonPackage rec {
13 pname = "azure-storage-blob";
14 version = "12.8.1";
15
16 src = fetchPypi {
17 inherit pname version;
18 extension = "zip";
19 sha256 = "eb37b50ddfb6e558b29f6c8c03b0666514e55d6170bf4624e7261a3af93c6401";
20 };
21
22 propagatedBuildInputs = [
23 azure-common
24 azure-core
25 azure-storage-common
26 msrest
27 ] ++ lib.optional (!isPy3k) futures;
28
29 # has no tests
30 doCheck = false;
31
32 meta = with lib; {
33 description = "Client library for Microsoft Azure Storage services containing the blob service APIs";
34 homepage = "https://github.com/Azure/azure-sdk-for-python";
35 license = licenses.mit;
36 maintainers = with maintainers; [ cmcdragonkai maxwilson ];
37 };
38}