From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: add rlwrap
Date: Sun, 17 Jul 2016 09:36:36 +0300 [thread overview]
Message-ID: <20160717063636.GA5637@debian-netbook> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 435 bytes --]
Rlwrap is a wrapper program around readline, so I've stuck it in
readline.scm. I realized while testing some of the programs I use
regularly I've been negligent in submitting patches, so here's the first
one I have.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #1.2: 0001-gnu-Add-rlwrap.patch --]
[-- Type: text/plain, Size: 2278 bytes --]
From a2285798832daa6b4d33aac3382171ec25ea032d Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Sun, 17 Jul 2016 08:56:03 +0300
Subject: [PATCH] gnu: Add rlwrap.
* gnu/packages/readline.scm (rlwrap): New variable.
---
gnu/packages/readline.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm
index db469db..169a738 100644
--- a/gnu/packages/readline.scm
+++ b/gnu/packages/readline.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,6 +21,7 @@
#:use-module (guix licenses)
#:use-module (gnu packages)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages perl)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -85,3 +87,29 @@ comfortable for anyone.")
(sha256
(base32
"10ckm2bd2rkxhvdmj7nmbsylmihw0abwcsnxf8y27305183rd9kr"))))))
+
+(define-public rlwrap
+ (package
+ (name "rlwrap")
+ (version "0.42")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0i3yz303wscrysyzpdq04h4nrl9ajz9dbwi80risdl5rkm3dhw2s"))))
+ (build-system gnu-build-system)
+ (native-inputs `(("perl" ,perl)))
+ (inputs
+ `(("readline" ,readline)))
+ (synopsis "Wrapper to allow the editing of keyboard commands")
+ (description
+ "Rlwrap is a 'readline wrapper', a small utility that uses the GNU
+readline library to allow the editing of keyboard input for any command. You
+should consider rlwrap especially when you need user-defined completion (by way
+of completion word lists) and persistent history, or if you want to program
+'special effects' using the filter mechanism.")
+ (home-page "http://utopia.knoware.nl/~hlub/uck/rlwrap/")
+ (license gpl2+)))
--
2.9.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2016-07-17 6:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-17 6:36 Efraim Flashner [this message]
2016-07-17 8:48 ` add rlwrap Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160717063636.GA5637@debian-netbook \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.