1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
3 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
4 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
5 ;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
6 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
8 ;;; This file is part of GNU Guix.
10 ;;; GNU Guix is free software; you can redistribute it and/or modify it
11 ;;; under the terms of the GNU General Public License as published by
12 ;;; the Free Software Foundation; either version 3 of the License, or (at
13 ;;; your option) any later version.
15 ;;; GNU Guix is distributed in the hope that it will be useful, but
16 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;;; GNU General Public License for more details.
20 ;;; You should have received a copy of the GNU General Public License
21 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
23 (define-module (gnu packages libedit)
24 #:use-module (guix licenses)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix build-system gnu)
28 #:use-module (gnu packages ncurses))
30 (define-public libedit
33 (version "20191231-3.1")
37 (uri (string-append "https://thrysoee.dk/editline"
38 "/libedit-" version ".tar.gz"))
40 (base32 "0wch48nml28jj6ild889745dsg2agm7mpvrmbl1gi98nw6vjrf6v"))))
41 (build-system gnu-build-system)
43 `(("ncurses" ,ncurses)))
44 (home-page "https://thrysoee.dk/editline/")
45 (synopsis "NetBSD Editline library")
47 "This is an autotool- and libtoolized port of the NetBSD Editline
48 library (libedit). This Berkeley-style licensed command line editor library
49 provides generic line editing, history, and tokenization functions, similar to
50 those found in GNU Readline.")
53 (define-public editline
61 "https://ftp.troglobit.com/editline/editline-" version ".tar.xz"))
63 (base32 "03pw3z6pz590v8xfnjx0yynnzij2sb9xwjbvqvdzsid56crkn8nz"))))
64 (build-system gnu-build-system)
65 (home-page "https://troglobit.com/projects/editline/")
66 (synopsis "Line editing library")
68 "@code{editline} is a small line editing library. It can be linked into almost
69 any program to provide command line editing and history functions. It is call
70 compatible with the GNU Readline library, but at a fraction of the size,
71 and as a result fewer features.")