1{ lib
2, buildPythonPackage
3, fetchPypi
4, lxml
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "tableaudocumentapi";
10 version = "0.10";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-ahR+o4UgFLm/9aFsEqmlwXkcgTjqI0wU2Tl9EjVjLZs=";
15 };
16
17 propagatedBuildInputs = [ lxml ];
18
19 checkInputs = [ pytestCheckHook ];
20
21 pythonImportsCheck = [ "tableaudocumentapi" ];
22
23 # ModuleNotFoundError: No module named 'test.assets'
24 doCheck = false;
25
26 meta = with lib; {
27 description = "A Python module for working with Tableau files";
28 homepage = "https://github.com/tableau/document-api-python";
29 license = licenses.mit;
30 maintainers = with maintainers; [ costrouc ];
31 };
32}