summaryrefslogtreecommitdiff
path: root/gnu/packages/ncurses.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-07-23 19:06:49 -0400
committerLeo Famulari <leo@famulari.name>2017-07-23 19:06:49 -0400
commite081e2dd0b4c3a842d0bac6384545861c76e02d5 (patch)
treed167cd736ae1cca8efe90f0d38e25b14fcaa3b99 /gnu/packages/ncurses.scm
parentd3dce32216905a3beab6cdc6ba444d92f934ea29 (diff)
parent2472f7a8f1343ff11bb14e7135faddac3fc38e20 (diff)
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/ncurses.scm')
-rw-r--r--gnu/packages/ncurses.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
index d8b72a12c0..65531ec202 100644
--- a/gnu/packages/ncurses.scm
+++ b/gnu/packages/ncurses.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages swig)
+ #:use-module (gnu packages linux)
#:use-module (guix utils))
(define-public ncurses
@@ -189,6 +190,19 @@ ncursesw library provides wide character support.")
(license x11)
(home-page "https://www.gnu.org/software/ncurses/")))
+(define-public ncurses/gpm
+ (package/inherit ncurses
+ (name "ncurses-with-gpm")
+ (arguments
+ (substitute-keyword-arguments (package-arguments ncurses)
+ ((#:configure-flags cf)
+ `(cons (string-append "--with-gpm="
+ (assoc-ref %build-inputs "gpm")
+ "/lib/libgpm.so.2")
+ ,cf))))
+ (inputs
+ `(("gpm" ,gpm)))))
+
(define-public dialog
(package
(name "dialog")