gnu: Add dmenu.

* gnu/packages/dwm.scm (dmenu): New variable.
This commit is contained in:
宋文武 2014-12-03 20:37:33 +08:00
parent f47f676120
commit 65a056900f
1 changed files with 28 additions and 0 deletions

View File

@ -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)))