summaryrefslogtreecommitdiff
path: root/gnu/packages/ncurses.scm
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2022-03-29 23:34:42 +0000
committerVagrant Cascadian <vagrant@debian.org>2022-04-05 12:05:19 -0700
commit20302e0b161a9a44e8630c65658bc11057834da5 (patch)
treef15cc7b245ee94c84bb87bb6eaaed5ab4e1346b8 /gnu/packages/ncurses.scm
parente777c3e34cdb02c80c83be05d19973fd23229e20 (diff)
gnu: Add ncurses-with-tinfo.
* gnu/packages/ncurses.scm (ncurses/tinfo): New variable.
Diffstat (limited to 'gnu/packages/ncurses.scm')
-rw-r--r--gnu/packages/ncurses.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
index 311a681d09..5b00da25bb 100644
--- a/gnu/packages/ncurses.scm
+++ b/gnu/packages/ncurses.scm
@@ -247,6 +247,17 @@ ncursesw library provides wide character support.")
(inputs
`(("gpm" ,gpm)))))
+;; Needed by u-boot 2022.04+
+;; Consider merging into ncurses for next core-updates cycle.
+(define-public ncurses/tinfo
+ (package/inherit ncurses
+ (name "ncurses-with-tinfo")
+ (arguments
+ (substitute-keyword-arguments (package-arguments ncurses)
+ ((#:configure-flags cf)
+ `(cons "--with-termlib=tinfo"
+ ,cf))))))
+
(define-public dialog
(package
(name "dialog")