1{ lib
2, buildPythonPackage
3, fetchPypi
4, azure-common
5, azure-storage-common
6, isPy3k
7, futures
8}:
9
10buildPythonPackage rec {
11 pname = "azure-storage-file";
12 version = "1.4.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "5217b0441b671246a8d5f506a459fa3af084eeb9297c5be3bbe95d75d23bac2f";
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 file service APIs";
29 homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-file;
30 license = licenses.mit;
31 maintainers = with maintainers; [ cmcdragonkai ];
32 };
33}