1{ lib
2, buildPythonPackage
3, fetchPypi
4, lxml
5, pytestCheckHook
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "tableaudocumentapi";
11 version = "0.11";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-g6V1UBf+P21FcZkR3PHoUmdmrQwEvjdd1VKhvNmvOys=";
19 };
20
21 propagatedBuildInputs = [
22 lxml
23 ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [
30 "tableaudocumentapi"
31 ];
32
33 # ModuleNotFoundError: No module named 'test.assets'
34 doCheck = false;
35
36 meta = with lib; {
37 description = "Python module for working with Tableau files";
38 homepage = "https://github.com/tableau/document-api-python";
39 changelog = "https://github.com/tableau/document-api-python/releases/tag/v${version}";
40 license = licenses.mit;
41 maintainers = with maintainers; [ ];
42 };
43}