1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 cryptography,
6 azure-common,
7 azure-storage-common,
8 azure-cosmosdb-nspkg,
9 futures ? null,
10 isPy3k,
11}:
12
13buildPythonPackage rec {
14 pname = "azure-cosmosdb-table";
15 version = "1.0.6";
16 format = "setuptools";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "5f061d2ab8dcf2f0b4e965d5976e7b7aeb1247ea896911f0e1d29092aaaa29c7";
21 };
22
23 propagatedBuildInputs = [
24 cryptography
25 azure-common
26 azure-storage-common
27 azure-cosmosdb-nspkg
28 ]
29 ++ lib.optionals (!isPy3k) [ futures ];
30
31 # has no tests
32 doCheck = false;
33
34 meta = with lib; {
35 description = "This is the Microsoft Azure Log Analytics Client Library";
36 homepage = "https://github.com/Azure/azure-sdk-for-python";
37 license = licenses.mit;
38 maintainers = with maintainers; [ maxwilson ];
39 };
40}