gnu: rlwrap: Update to 0.45.1.

* gnu/packages/readline.scm (rlwrap): Update to 0.45.1.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[native-inputs]: Add automake & autoconf.
This commit is contained in:
Tobias Geerinckx-Rice 2021-05-29 20:23:58 +02:00
parent 8774e1b737
commit 4562c60d98
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2,7 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013, 2014, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -23,10 +23,12 @@
(define-module (gnu packages readline) (define-module (gnu packages readline)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (ice-9 format)) #:use-module (ice-9 format))
@ -144,19 +146,21 @@ comfortable for anyone.")
(define-public rlwrap (define-public rlwrap
(package (package
(name "rlwrap") (name "rlwrap")
(version "0.43") (version "0.45.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/hanslub42/rlwrap/releases/" (uri (git-reference
"download/v" version "/" (url "https://github.com/hanslub42/rlwrap")
name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0shf59mkql584a0p449psnbr26bfik5pizg4vsa75g4gbi6mn4r7"))))
"0bzb7ylk2770iv59v2d0gypb21y2xn87m299s9rqm6rdi2vx11lf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("perl" ,perl))) `(("autoconf" ,autoconf)
("automake" ,automake)
("perl" ,perl)))
(inputs (inputs
`(("readline" ,readline))) `(("readline" ,readline)))
(synopsis "Wrapper to allow the editing of keyboard commands") (synopsis "Wrapper to allow the editing of keyboard commands")