2019-01-31 04:18:01 -05:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-08-18 13:37:52 +02:00
|
|
|
, lxml
|
|
|
|
, pytestCheckHook
|
2019-01-31 04:18:01 -05:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tableaudocumentapi";
|
2022-12-23 21:45:55 +00:00
|
|
|
version = "0.11";
|
2019-01-31 04:18:01 -05:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-12-23 21:45:55 +00:00
|
|
|
sha256 = "sha256-g6V1UBf+P21FcZkR3PHoUmdmrQwEvjdd1VKhvNmvOys=";
|
2019-01-31 04:18:01 -05:00
|
|
|
};
|
|
|
|
|
2022-08-18 13:37:52 +02:00
|
|
|
propagatedBuildInputs = [ lxml ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "tableaudocumentapi" ];
|
|
|
|
|
|
|
|
# ModuleNotFoundError: No module named 'test.assets'
|
2019-01-31 04:18:01 -05:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Python module for working with Tableau files";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/tableau/document-api-python";
|
2019-01-31 04:18:01 -05:00
|
|
|
license = licenses.mit;
|
2022-08-18 13:37:52 +02:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2019-01-31 04:18:01 -05:00
|
|
|
};
|
|
|
|
}
|