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