summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tableaudocumentapi
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-08-18 13:37:52 +0200
committerJonas Heinrich <onny@project-insanity.org>2022-08-18 13:39:17 +0200
commit06f89fc55ec106eb8ee1b28daa34131669638bb8 (patch)
tree9d2d10c46cb0436a7eb910c70c8e4b0438a0003a /pkgs/development/python-modules/tableaudocumentapi
parent02eec1df3095f058db97565ee9fb38a77e1aada5 (diff)
python310Packages.tableaudocumentapi: Fix build
Diffstat (limited to 'pkgs/development/python-modules/tableaudocumentapi')
-rw-r--r--pkgs/development/python-modules/tableaudocumentapi/default.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/tableaudocumentapi/default.nix b/pkgs/development/python-modules/tableaudocumentapi/default.nix
index cf9a55d7391c..ae6f374836d7 100644
--- a/pkgs/development/python-modules/tableaudocumentapi/default.nix
+++ b/pkgs/development/python-modules/tableaudocumentapi/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, lxml
+, pytestCheckHook
}:
buildPythonPackage rec {
@@ -12,13 +14,19 @@ buildPythonPackage rec {
sha256 = "sha256-ahR+o4UgFLm/9aFsEqmlwXkcgTjqI0wU2Tl9EjVjLZs=";
};
- # tests not inclued with release
+ 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 = [ maintainers.costrouc ];
+ maintainers = with maintainers; [ costrouc ];
};
}