17 buildPythonPackage rec {
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-73qEogHe69B66r4EJOj2RAP95O5z7v/UYARTIEPxrcA=";
39 ] ++ markdown-it-py.optional-dependencies.plugins
40 ++ markdown-it-py.optional-dependencies.linkify;
42 optional-dependencies = {
45 # tree-sitter-languages
55 ] ++ optional-dependencies.syntax;
58 # snapshot tests require syrupy<4
59 "tests/snapshot_tests/test_snapshots.py"
64 "test_textual_env_var"
65 "test_softbreak_split_links_rendered_correctly"
67 # requires tree-sitter-languages which is not packaged in nixpkgs
68 "test_register_language"
69 "test_language_binary_missing"
72 pythonImportsCheck = [
76 __darwinAllowLocalNetworking = true;
79 description = "TUI framework for Python inspired by modern web development";
80 homepage = "https://github.com/Textualize/textual";
81 changelog = "https://github.com/Textualize/textual/releases/tag/v${version}";
82 license = licenses.mit;
83 maintainers = with maintainers; [ joelkoen ];