Commit | Line | Data |
---|---|---|
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> |
97f4ff6d | 4 | ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> |
1094f121 | 5 | ;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com> |
c8daf572 FB |
6 | ;;; |
7 | ;;; This file is part of GNU Guix. | |
8 | ;;; | |
9 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
10 | ;;; under the terms of the GNU General Public License as published by | |
11 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
12 | ;;; your option) any later version. | |
13 | ;;; | |
14 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
15 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | ;;; GNU General Public License for more details. | |
18 | ;;; | |
19 | ;;; You should have received a copy of the GNU General Public License | |
20 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
21 | ||
22 | (define-module (gnu packages libedit) | |
23 | #:use-module (guix licenses) | |
24 | #:use-module (guix packages) | |
25 | #:use-module (guix download) | |
26 | #:use-module (guix build-system gnu) | |
27 | #:use-module (gnu packages ncurses)) | |
28 | ||
29 | (define-public libedit | |
30 | (package | |
31 | (name "libedit") | |
bd189ebc | 32 | (version "20191025-3.1") |
c8daf572 FB |
33 | (source |
34 | (origin | |
35 | (method url-fetch) | |
2dbd8365 | 36 | (uri (string-append "https://thrysoee.dk/editline" |
97f4ff6d | 37 | "/libedit-" version ".tar.gz")) |
c8daf572 | 38 | (sha256 |
bd189ebc | 39 | (base32 "0fdznw6fklis39xqk30ihw8dl8kdw9fzq1z42jmbyy6lc1k07zvd")))) |
c8daf572 FB |
40 | (build-system gnu-build-system) |
41 | (inputs | |
42 | `(("ncurses" ,ncurses))) | |
c3d8bf39 | 43 | (home-page "https://thrysoee.dk/editline/") |
c8daf572 FB |
44 | (synopsis "NetBSD Editline library") |
45 | (description | |
46 | "This is an autotool- and libtoolized port of the NetBSD Editline | |
1eefe4a8 | 47 | library (libedit). This Berkeley-style licensed command line editor library |
c8daf572 FB |
48 | provides generic line editing, history, and tokenization functions, similar to |
49 | those found in GNU Readline.") | |
50 | (license bsd-3))) |