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