guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57659] [PATCH] gnu: Add blesh.


From: kiasoc5
Subject: [bug#57659] [PATCH] gnu: Add blesh.
Date: Wed, 7 Sep 2022 22:11:06 -0400

* gnu/packages/bash.scm (blesh): New variable.
---
 gnu/packages/bash.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 72758560cd..2460c7cc00 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -44,6 +44,7 @@ (define-module (gnu packages bash)
   #:use-module (guix gexp)
   #:use-module (guix monads)
   #:use-module (guix store)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
   #:autoload   (guix gnupg) (gnupg-verify*)
@@ -456,3 +457,25 @@ (define-public bash-ctypes
 function interface (FFI) directly in your shell.  In other words, it allows
 you to call routines in shared libraries from within Bash.")
     (license license:expat)))
+
+(define-public blesh
+  (package
+    (name "blesh")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append 
"https://github.com/akinomyoga/ble.sh/releases/download/v";
+                          version "/ble-" version ".tar.xz"))
+       (sha256
+        (base32
+         "0fpkacw0r5zhby1wpsirlzq4w1yq1fmhivik47l891c2pn1n7rm7"))))
+    (build-system copy-build-system)
+    (inputs (list bash))
+    (arguments
+      (list
+       #:install-plan #~'(("." "share/blesh"))))
+    (home-page "https://github.com/akinomyoga/ble.sh/";)
+    (synopsis "A line editor written in pure Bash")
+    (description "Bash Line Editor (ble.sh) is a command line editor written 
in pure Bash which replaces the default GNU Readline. It adds syntax 
highlighting, auto suggestions, vim modes, and more to Bash interactive 
sessions.")
+    (license license:bsd-3)))

base-commit: b45a44eaad890f31d9418dbb8cb14e3ee1d83c19
-- 
2.37.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]