1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "texttable"; 11 version = "1.7.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-LSBo+1URWAfTrHekymj6SIA+hOuw7iNA+FgQejZSJjg="; 19 }; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "texttable" ]; 24 25 enabledTestPaths = [ "tests.py" ]; 26 27 meta = with lib; { 28 description = "Module to generate a formatted text table, using ASCII characters"; 29 homepage = "https://github.com/foutaise/texttable"; 30 changelog = "https://github.com/foutaise/texttable/blob/v${version}/CHANGELOG.md"; 31 license = licenses.mit; 32 maintainers = [ ]; 33 }; 34}