1{ lib
2, buildPythonPackage
3, fetchPypi
4, azure-common
5, cryptography
6, python-dateutil
7, requests
8, isPy3k
9, azure-storage-nspkg
10}:
11
12buildPythonPackage rec {
13 pname = "azure-storage-common";
14 version = "2.1.0";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "ccedef5c67227bc4d6670ffd37cec18fb529a1b7c3a5e53e4096eb0cf23dc73f";
19 };
20
21 propagatedBuildInputs = [
22 azure-common
23 cryptography
24 python-dateutil
25 requests
26 ] ++ lib.optional (!isPy3k) azure-storage-nspkg;
27
28 # has no tests
29 doCheck = false;
30
31 meta = with lib; {
32 description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue";
33 homepage = "https://github.com/Azure/azure-sdk-for-python";
34 license = licenses.mit;
35 maintainers = with maintainers; [ cmcdragonkai ];
36 };
37}