a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
43 lines
889 B
Nix
43 lines
889 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, lxml
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tableaudocumentapi";
|
|
version = "0.11";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-g6V1UBf+P21FcZkR3PHoUmdmrQwEvjdd1VKhvNmvOys=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
lxml
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"tableaudocumentapi"
|
|
];
|
|
|
|
# ModuleNotFoundError: No module named 'test.assets'
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python module for working with Tableau files";
|
|
homepage = "https://github.com/tableau/document-api-python";
|
|
changelog = "https://github.com/tableau/document-api-python/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|