summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/azure-cosmosdb-table/default.nix
blob: 83b56b0483f3576e7cd9dabd45ec96c0b68494b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  lib,
  buildPythonPackage,
  fetchPypi,
  cryptography,
  azure-common,
  azure-storage-common,
  azure-cosmosdb-nspkg,
  futures ? null,
  isPy3k,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "azure-cosmosdb-table";
  version = "1.0.6";
  pyproject = true;

  src = fetchPypi {
    inherit (finalAttrs) pname version;
    hash = "sha256-XwYdKrjc8vC06WXVl257eusSR+qJaRHw4dKQkqqqKcc=";
  };

  build-system = [ setuptools ];

  dependencies = [
    cryptography
    azure-common
    azure-storage-common
    azure-cosmosdb-nspkg
  ]
  ++ lib.optionals (!isPy3k) [ futures ];

  # has no tests
  doCheck = false;

  meta = {
    description = "This is the Microsoft Azure Log Analytics Client Library";
    homepage = "https://github.com/Azure/azure-sdk-for-python";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ maxwilson ];
  };
})