aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/dwm.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2014-12-03 20:37:33 +0800
committer宋文武 <iyzsong@gmail.com>2014-12-04 18:51:14 +0800
commit65a056900f02c1739224bcb89d9bc2f1343c8c56 (patch)
treeb48fdb794e03c1633eaae379f81c4f204ea73340 /gnu/packages/dwm.scm
parentf47f6761203c670d51725fff3de595ff2f22b345 (diff)
downloadpatches-65a056900f02c1739224bcb89d9bc2f1343c8c56.tar
patches-65a056900f02c1739224bcb89d9bc2f1343c8c56.tar.gz
gnu: Add dmenu.
* gnu/packages/dwm.scm (dmenu): New variable.
Diffstat (limited to 'gnu/packages/dwm.scm')
-rw-r--r--gnu/packages/dwm.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
index b5dbe73cda..88758f21d3 100644
--- a/gnu/packages/dwm.scm
+++ b/gnu/packages/dwm.scm
@@ -84,3 +84,31 @@ left corner.
dwm draws a small customizable border around windows to indicate the focus
state.")
(license x11)))
+
+(define-public dmenu
+ (package
+ (name "dmenu")
+ (version "4.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://dl.suckless.org/tools/dmenu-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:phases
+ (alist-delete 'configure %standard-phases)))
+ (inputs
+ `(("libx11" ,libx11)
+ ("libxinerama" ,libxinerama)))
+ (home-page "http://tools.suckless.org/dmenu/")
+ (synopsis "Dynamic menu")
+ (description
+ "A dynamic menu for X, originally designed for dwm. It manages large
+numbers of user-defined menu items efficiently.")
+ (license x11)))