mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: parted: Build against Readline 6.2.
* gnu/packages/readline.scm (readline-6.2): New variable. * gnu/packages/parted.scm (parted): Use it instead of READLINE.
This commit is contained in:
parent
ef0383eeca
commit
50322c847d
2 changed files with 16 additions and 1 deletions
|
@ -53,7 +53,11 @@ (define-public parted
|
|||
(inputs
|
||||
;; XXX: add 'lvm2'.
|
||||
`(("check" ,check)
|
||||
("readline" ,readline)
|
||||
|
||||
;; With Readline 6.3, parted/ui.c fails to build because it uses the
|
||||
;; now undefined 'CPPFunction' type.
|
||||
("readline" ,readline-6.2)
|
||||
|
||||
("util-linux" ,util-linux)))
|
||||
(native-inputs
|
||||
`(("gettext" ,gnu-gettext)))
|
||||
|
|
|
@ -74,3 +74,14 @@ (define-public readline
|
|||
comfortable for anyone.")
|
||||
(license gpl3+)
|
||||
(home-page "http://savannah.gnu.org/projects/readline/"))))
|
||||
|
||||
(define-public readline-6.2
|
||||
(package (inherit readline)
|
||||
(version "6.2")
|
||||
(source (origin (inherit (package-source readline))
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/readline/readline-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"10ckm2bd2rkxhvdmj7nmbsylmihw0abwcsnxf8y27305183rd9kr"))))))
|
||||
|
|
Loading…
Reference in a new issue