gnu: emacs-consult: Fix grammar.
[jackhill/guix/guix.git] / gnu / packages / libedit.scm
CommitLineData
c8daf572
FB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
ab952dc3 3;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
6fa20e12 4;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
1094f121 5;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
b84ea6c9 6;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
c8daf572
FB
7;;;
8;;; This file is part of GNU Guix.
9;;;
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.
14;;;
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.
19;;;
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/>.
22
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))
29
30(define-public libedit
31 (package
32 (name "libedit")
6fa20e12 33 (version "20191231-3.1")
c8daf572
FB
34 (source
35 (origin
36 (method url-fetch)
2dbd8365 37 (uri (string-append "https://thrysoee.dk/editline"
97f4ff6d 38 "/libedit-" version ".tar.gz"))
c8daf572 39 (sha256
6fa20e12 40 (base32 "0wch48nml28jj6ild889745dsg2agm7mpvrmbl1gi98nw6vjrf6v"))))
c8daf572
FB
41 (build-system gnu-build-system)
42 (inputs
43 `(("ncurses" ,ncurses)))
c3d8bf39 44 (home-page "https://thrysoee.dk/editline/")
c8daf572
FB
45 (synopsis "NetBSD Editline library")
46 (description
47 "This is an autotool- and libtoolized port of the NetBSD Editline
1eefe4a8 48library (libedit). This Berkeley-style licensed command line editor library
c8daf572
FB
49provides generic line editing, history, and tokenization functions, similar to
50those found in GNU Readline.")
51 (license bsd-3)))
b84ea6c9
GL
52
53(define-public editline
54 (package
55 (name "editline")
56 (version "1.17.1")
57 (source
58 (origin
59 (method url-fetch)
60 (uri (string-append
61 "https://ftp.troglobit.com/editline/editline-" version ".tar.xz"))
62 (sha256
63 (base32 "03pw3z6pz590v8xfnjx0yynnzij2sb9xwjbvqvdzsid56crkn8nz"))))
64 (build-system gnu-build-system)
65 (home-page "https://troglobit.com/projects/editline/")
66 (synopsis "Line editing library")
67 (description
68 "@code{editline} is a small line editing library. It can be linked into almost
69any program to provide command line editing and history functions. It is call
70compatible with the GNU Readline library, but at a fraction of the size,
71and as a result fewer features.")
72 (license bsd-4)))