guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add ncurses-with-gpm.


From: Danny Milosavljevic
Subject: 01/03: gnu: Add ncurses-with-gpm.
Date: Fri, 7 Jul 2017 01:26:43 -0400 (EDT)

dannym pushed a commit to branch wip-installer-2
in repository guix.

commit 6b6c8317097482487c41f302a2ae4fc27d9220f0
Author: Danny Milosavljevic <address@hidden>
Date:   Fri Jul 7 07:07:51 2017 +0200

    gnu: Add ncurses-with-gpm.
    
    * gnu/packages/linux.scm (ncurses/gpm): New variable.
---
 gnu/packages/linux.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0b90b40..3f6feb0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2998,6 +2998,17 @@ applications running on the Linux console.  It allows 
users to select items
 and copy/paste text in the console and in xterm.")
     (license license:gpl2+)))
 
+(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 btrfs-progs
   (package
     (name "btrfs-progs")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]