summary refs log tree commit diff
diff options
context:
space:
mode:
authorng0 <ng0@libertad.pw>2017-01-23 17:02:49 +0000
committerLudovic Courtès <ludo@gnu.org>2017-03-28 22:15:45 +0200
commitdbf544f9ecf9bc9d6edb507dc5ba8ab6ba497f68 (patch)
tree4537cd81c9cddbcbf727edfb56c50b2aa1be68ff
parentd3897349e9a8a75983d9109a6bbf6684d0750a0b (diff)
downloadguix-dbf544f9ecf9bc9d6edb507dc5ba8ab6ba497f68.tar.gz
gnu: Add keybinder.
* gnu/packages/wm.scm (keybinder): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/wm.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index b95f2e7a6f..d758f264a1 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -645,3 +645,32 @@ all of them.  Currently supported window managers include:
 @end enumerate\n")
     (home-page "http://menumaker.sourceforge.net/")
     (license license:bsd-2)))
+
+(define-public keybinder
+  (package
+    (name "keybinder")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/engla/keybinder/releases/"
+                           "download/v" version "/keybinder-"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0h52hj3ay8mfhwvmfxbxlfyq74hifdk8wxgxp7fr4iy6189hg7w7"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("python-2" ,python-2)
+       ("gtk+-2" ,gtk+-2)))
+    (native-inputs
+     `(("python2-pygtk" ,python2-pygtk)
+       ("gtk-doc" ,gtk-doc)
+       ("pkg-config" ,pkg-config)))
+    (synopsis "Library for registering global keyboard shortcuts")
+    (description
+     "Keybinder is a library for registering global keyboard shortcuts.
+Keybinder works with GTK-based applications using the X Window System.")
+    (home-page "https://github.com/engla/keybinder")
+    (license license:gpl2+)))