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