1{ lib
2, buildPythonPackage
3, python
4, fetchPypi
5, defusedxml
6, requests
7, packaging
8, requests-mock
9, pytestCheckHook
10}:
11
12buildPythonPackage rec {
13 pname = "tableauserverclient";
14 version = "0.25";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "sha256-01TRYkXEWagFrSB7zvP6Bj4YvIFoaVkgrIm/gSWkILY=";
19 };
20
21 propagatedBuildInputs = [ defusedxml requests packaging ];
22
23 checkInputs = [ requests-mock ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 doCheck = false; # it attempts to create some file artifacts and fails
28
29 meta = {
30 description = "A Python module for working with the Tableau Server REST API.";
31 homepage = "https://pypi.org/project/tableauserverclient/";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ ];
34 };
35}