Subject: [bug#77552] [PATCH v2 2/5] gnu: Add replxx-sources.

From: Lee Thompson <[email-masked]>
Date: Thu, 10 Apr 2025 14:38:33 +0100

* gnu/packages/bqn.scm (replxx-sources): New variable.

Change-Id: I6ab4a714ec82165c7df9e5c67c26b43c40a5c625
---
 gnu/packages/bqn.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm
index c9f719939c..5c69a2740c 100644
--- a/gnu/packages/bqn.scm
+++ b/gnu/packages/bqn.scm
@@ -121,6 +121,20 @@ (define bqn-sources
         (sha256
          (base32 "1cap927i0s8ly4mckppw33ahlc5xnp3l2shk1m79wndf362x3r7c")))))
 
+(define replxx-sources
+  ;; Dzaima's fork of REPLXX can be used to enhance the CBQN REPL experience
+  ;; with syntax highlighting, readline-like history/navigation, and a
+  ;; prefixed keymap similar to BQNPAD.
+  (let ((commit "13f7b60f4f79c2f14f352a76d94860bad0fc7ce9"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/dzaima/replxx")
+            (commit commit)))
+      (file-name (git-file-name "replxx" commit))
+      (sha256
+       (base32 "0440xjvdkrbpxqjrd6nsrnaxki0mgyinsb0b1dcshjj3h3jr1yy4")))))
+
 (define cbqn-bootstrap
   (let* ((revision "2")
          (commit "66584ce1491d300746963b8ed17170348b2a03e6"))
-- 
2.48.1