about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tableaudocumentapi/default.nix
blob: ae6f374836d706263606909233cf5d49fc686747 (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
{ lib
, buildPythonPackage
, fetchPypi
, lxml
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "tableaudocumentapi";
  version = "0.10";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-ahR+o4UgFLm/9aFsEqmlwXkcgTjqI0wU2Tl9EjVjLZs=";
  };

  propagatedBuildInputs = [ lxml ];

  checkInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "tableaudocumentapi" ];

  # ModuleNotFoundError: No module named 'test.assets'
  doCheck = false;

  meta = with lib; {
    description = "A Python module for working with Tableau files";
    homepage = "https://github.com/tableau/document-api-python";
    license = licenses.mit;
    maintainers = with maintainers; [ costrouc ];
  };
}