From 0fbe28707573fdc9a7587143d10587b93b313d48 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 3 Aug 2015 15:35:55 +0200 Subject: [PATCH 1/2] gnu: Add libedit. * gnu/packages/readline.scm (libedit): New variable. --- gnu/packages/readline.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm index 13ce916..9c50373 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 +;;; Copyright © 2015 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -85,3 +86,24 @@ comfortable for anyone.") (sha256 (base32 "10ckm2bd2rkxhvdmj7nmbsylmihw0abwcsnxf8y27305183rd9kr")))))) + +(define-public libedit + (package + (name "libedit") + (version "20150325-3.1") + (source (origin + (method url-fetch) + (uri (string-append "http://thrysoee.dk/editline/libedit-" + version ".tar.gz")) + (sha256 + (base32 + "1if8zi9h52m80ck796an28rrqfljk2n8cn25m3fl0prwz155x2n8")))) + (build-system gnu-build-system) + (arguments `(#:configure-flags (list "--enable-widec"))) + (inputs `(("ncurses" ,ncurses))) + (home-page "http://thrysoee.dk/editline/") + (synopsis "Port of the NetBSD Editline command line editor library") + (description + "Libedit is a command line editor library providing generic line editing, +history, and tokenization functions, similar to those found in GNU Readline.") + (license bsd-3))) -- 2.1.0