gnu: linenoise: Update to commit 2105ce445821381cf1bca87b6d386d4ea88ee20d.
* gnu/packages/shells.scm (linenoise): Update to commit 2105ce445821381cf1bca87b6d386d4ea88ee20d. Fix indentation. [source]: change to git. Signed-off-by: Kei Kebreau <kei@openmailbox.org>
This commit is contained in:
parent
f152208b0d
commit
05af41a181
1 changed files with 36 additions and 33 deletions
|
@ -449,38 +449,41 @@ operating system.")
|
||||||
(license bsd-3))))
|
(license bsd-3))))
|
||||||
|
|
||||||
(define-public linenoise
|
(define-public linenoise
|
||||||
(package
|
(let ((commit "2105ce445821381cf1bca87b6d386d4ea88ee20d")
|
||||||
(name "linenoise")
|
(revision "1"))
|
||||||
(version "1.0")
|
(package
|
||||||
(source
|
(name "linenoise")
|
||||||
(origin
|
(version (string-append "1.0-" revision "." (string-take commit 7)))
|
||||||
(method url-fetch)
|
(source
|
||||||
(uri (string-append "https://github.com/antirez/linenoise/"
|
(origin
|
||||||
"archive/" version ".tar.gz"))
|
(method git-fetch)
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/antirez/linenoise")
|
||||||
(base32
|
(commit commit)))
|
||||||
"05006hd56xcvxjdpll4x720bpfan7vwqmxbw8a2kvm10w57ll1gm"))))
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(build-system gnu-build-system)
|
(sha256
|
||||||
(arguments
|
(base32
|
||||||
`(#:tests? #f ;No tests are included
|
"1z16qwix8z6a40fskdgxsibkqgdrp4q6ncp4n6hnv4r9iihy2d8r"))))
|
||||||
#:make-flags (list "CC=gcc")
|
(build-system gnu-build-system)
|
||||||
#:phases
|
(arguments
|
||||||
(modify-phases %standard-phases
|
`(#:tests? #f ;No tests are included
|
||||||
(delete 'configure)
|
#:make-flags (list "CC=gcc")
|
||||||
(replace 'install
|
#:phases
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(modify-phases %standard-phases
|
||||||
;; At the moment there is no 'make install' in upstream.
|
(delete 'configure)
|
||||||
(let* ((out (assoc-ref outputs "out")))
|
(replace 'install
|
||||||
(install-file "linenoise.h"
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(string-append out "/include/linenoise"))
|
;; At the moment there is no 'make install' in upstream.
|
||||||
(install-file "linenoise.c"
|
(let* ((out (assoc-ref outputs "out")))
|
||||||
(string-append out "/include/linenoise"))
|
(install-file "linenoise.h"
|
||||||
#t))))))
|
(string-append out "/include/linenoise"))
|
||||||
(home-page "https://github.com/antirez/linenoise")
|
(install-file "linenoise.c"
|
||||||
(synopsis "Minimal zero-config readline replacement")
|
(string-append out "/include/linenoise"))
|
||||||
(description
|
#t))))))
|
||||||
"Linenoise is a minimal, zero-config, readline replacement.
|
(home-page "https://github.com/antirez/linenoise")
|
||||||
|
(synopsis "Minimal zero-config readline replacement")
|
||||||
|
(description
|
||||||
|
"Linenoise is a minimal, zero-config, readline replacement.
|
||||||
Its features include:
|
Its features include:
|
||||||
|
|
||||||
@enumerate
|
@enumerate
|
||||||
|
@ -490,7 +493,7 @@ Its features include:
|
||||||
@item Hints (suggestions at the right of the prompt as you type)
|
@item Hints (suggestions at the right of the prompt as you type)
|
||||||
@item A subset of VT100 escapes, ANSI.SYS compatible
|
@item A subset of VT100 escapes, ANSI.SYS compatible
|
||||||
@end enumerate\n")
|
@end enumerate\n")
|
||||||
(license bsd-2)))
|
(license bsd-2))))
|
||||||
|
|
||||||
(define-public s-shell
|
(define-public s-shell
|
||||||
(let ((commit "6604341edb3a775ff94415762af3ee9bd86bfb3c")
|
(let ((commit "6604341edb3a775ff94415762af3ee9bd86bfb3c")
|
||||||
|
|
Reference in a new issue