1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 lxml, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "tableaudocumentapi"; 12 version = "0.11"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-g6V1UBf+P21FcZkR3PHoUmdmrQwEvjdd1VKhvNmvOys="; 20 }; 21 22 propagatedBuildInputs = [ lxml ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "tableaudocumentapi" ]; 27 28 # ModuleNotFoundError: No module named 'test.assets' 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Python module for working with Tableau files"; 33 homepage = "https://github.com/tableau/document-api-python"; 34 changelog = "https://github.com/tableau/document-api-python/releases/tag/v${version}"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ ]; 37 }; 38}