| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 |
|
| 24 | (define-module (gnu packages libedit)
|
| 25 | #:use-module (guix gexp)
|
| 26 | #:use-module (guix licenses)
|
| 27 | #:use-module (guix packages)
|
| 28 | #:use-module (guix utils)
|
| 29 | #:use-module (guix download)
|
| 30 | #:use-module (guix build-system gnu)
|
| 31 | #:use-module (gnu packages ncurses))
|
| 32 |
|
| 33 | (define-public libedit
|
| 34 | (package
|
| 35 | (name "libedit")
|
| 36 | (version "20191231-3.1")
|
| 37 | (source
|
| 38 | (origin
|
| 39 | (method url-fetch)
|
| 40 | (uri (string-append "https://thrysoee.dk/editline"
|
| 41 | "/libedit-" version ".tar.gz"))
|
| 42 | (sha256
|
| 43 | (base32 "0wch48nml28jj6ild889745dsg2agm7mpvrmbl1gi98nw6vjrf6v"))))
|
| 44 | (build-system gnu-build-system)
|
| 45 | (arguments
|
| 46 | (list
|
| 47 | #:configure-flags
|
| 48 | #~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")))
|
| 49 | (inputs
|
| 50 | (list ncurses))
|
| 51 | (home-page "https://thrysoee.dk/editline/")
|
| 52 | (synopsis "NetBSD Editline library")
|
| 53 | (description
|
| 54 | "This is an autotool- and libtoolized port of the NetBSD Editline
|
| 55 | library (libedit). This Berkeley-style licensed command line editor library
|
| 56 | provides generic line editing, history, and tokenization functions, similar to
|
| 57 | those found in GNU Readline.")
|
| 58 | (license bsd-3)))
|
| 59 |
|
| 60 | (define-public editline
|
| 61 | (package
|
| 62 | (name "editline")
|
| 63 | (version "1.17.1")
|
| 64 | (source
|
| 65 | (origin
|
| 66 | (method url-fetch)
|
| 67 | (uri (string-append
|
| 68 | "https://ftp.troglobit.com/editline/editline-" version ".tar.xz"))
|
| 69 | (sha256
|
| 70 | (base32 "03pw3z6pz590v8xfnjx0yynnzij2sb9xwjbvqvdzsid56crkn8nz"))))
|
| 71 | (build-system gnu-build-system)
|
| 72 | (home-page "https://troglobit.com/projects/editline/")
|
| 73 | (synopsis "Line editing library")
|
| 74 | (description
|
| 75 | "@code{editline} is a small line editing library. It can be linked into almost
|
| 76 | any program to provide command line editing and history functions. It is call
|
| 77 | compatible with the GNU Readline library, but at a fraction of the size,
|
| 78 | and as a result fewer features.")
|
| 79 | (license bsd-4)))
|