python310Packages.tableaudocumentapi: Fix build

This commit is contained in:
Jonas Heinrich
2022-08-18 13:39:17 +02:00
parent 02eec1df30
commit 06f89fc55e
@@ -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 ];
};
}