summary refs log tree commit diff
path: root/pkgs/development/python-modules/tableauserverclient/default.nix
blob: 601fdee70310c2ed36c423ab3eb0905dbb3b54b3 (plain) (blame)
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
{ lib
, buildPythonPackage
, python
, fetchPypi
, defusedxml
, requests
, packaging
, requests-mock
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "tableauserverclient";
  version = "0.25";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-01TRYkXEWagFrSB7zvP6Bj4YvIFoaVkgrIm/gSWkILY=";
  };

  propagatedBuildInputs = [ defusedxml requests packaging ];

  checkInputs = [ requests-mock ];

  nativeCheckInputs = [ pytestCheckHook ];

  doCheck = false; # it attempts to create some file artifacts and fails

  meta = {
    description = "A Python module for working with the Tableau Server REST API.";
    homepage = "https://pypi.org/project/tableauserverclient/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ];
  };
}