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:
ng0 2017-06-29 15:52:15 +00:00 committed by Kei Kebreau
parent f152208b0d
commit 05af41a181
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 36 additions and 33 deletions

View File

@ -449,18 +449,21 @@ operating system.")
(license bsd-3))))
(define-public linenoise
(let ((commit "2105ce445821381cf1bca87b6d386d4ea88ee20d")
(revision "1"))
(package
(name "linenoise")
(version "1.0")
(version (string-append "1.0-" revision "." (string-take commit 7)))
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/antirez/linenoise/"
"archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/antirez/linenoise")
(commit commit)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"05006hd56xcvxjdpll4x720bpfan7vwqmxbw8a2kvm10w57ll1gm"))))
"1z16qwix8z6a40fskdgxsibkqgdrp4q6ncp4n6hnv4r9iihy2d8r"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ;No tests are included
@ -490,7 +493,7 @@ Its features include:
@item Hints (suggestions at the right of the prompt as you type)
@item A subset of VT100 escapes, ANSI.SYS compatible
@end enumerate\n")
(license bsd-2)))
(license bsd-2))))
(define-public s-shell
(let ((commit "6604341edb3a775ff94415762af3ee9bd86bfb3c")