24 buildPythonPackage rec {
25 pname = "pytablewriter";
29 disabled = pythonOlder "3.7";
31 src = fetchFromGitHub {
34 rev = "refs/tags/v${version}";
35 hash = "sha256-b3YzDqNATaT/FFG4/x9EGlYlhXKPvgNB2xnm0bzvLJQ=";
42 propagatedBuildInputs = [
51 passthru.optional-dependencies = {
90 # pytablewriter-altrow-theme
100 nativeCheckInputs = [
102 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
104 pythonImportsCheck = [
109 # Circular dependency
110 "test_normal_from_file"
111 "test_normal_from_text"
112 "test_normal_clear_theme"
113 # Test compares CLI output
117 disabledTestPaths = [
118 "test/writer/binary/test_excel_writer.py"
119 "test/writer/binary/test_sqlite_writer.py"
120 "test/writer/test_elasticsearch_writer.py"
124 description = "A library to write a table in various formats";
125 homepage = "https://github.com/thombashi/pytablewriter";
126 changelog = "https://github.com/thombashi/pytablewriter/releases/tag/v${version}";
127 license = licenses.mit;
128 maintainers = with maintainers; [ genericnerdyusername ];