From bd587cfeec96d8c7dfb091d234a046bad2628cab Mon Sep 17 00:00:00 2001 From: Brendan Jackman Date: Mon, 13 Apr 2026 16:14:24 +0000 Subject: [PATCH] b4: Add 'textual' library The new (experimental) TUI-based patch review workflow has this additional dependency. https://b4.docs.kernel.org/en/latest/maintainer/review.html#review-tui-based-patch-review-workflow-alpha Note that for the pip packaging this is an optional dependency, if you run b4 without it the rest of the functionality will work and when you run `b4 review tui` it prints: ``` The TUI requires the textual library. Install it with: pip install b4[tui] ``` So this could potentially be implemented as a separate package called `b4-tui`, but I don't really see much benefit to that.  --- pkgs/by-name/b4/b4/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/b4/b4/package.nix b/pkgs/by-name/b4/b4/package.nix index fcc090b9d289..60db5c158137 100644 --- a/pkgs/by-name/b4/b4/package.nix +++ b/pkgs/by-name/b4/b4/package.nix @@ -28,6 +28,7 @@ python3Packages.buildPythonApplication (finalAttrs: { dkimpy patatt git-filter-repo + textual ]; meta = {