gnu: Add wmenu.

* gnu/packages/wm.scm (wmenu): New variable.

Change-Id: I7395a23801471fba6a22a1b44f6c9a19dddd894e
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Zheng Junjie 2024-02-25 14:47:39 +08:00 committed by 宋文武
parent 8a4ed004d6
commit d67b764ceb
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1759,6 +1759,35 @@ (define-public wlroots-0.16
(propagated-inputs (modify-inputs (package-propagated-inputs wlroots)
(delete libdisplay-info)))))
(define-public wmenu
(package
(name "wmenu")
(version "0.1.7")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~adnano/wmenu")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0wjn68r5cx4zvw7sby6sk2ip5h4fn0jbgb1nasm9nsgjpv63pnpm"))))
(build-system meson-build-system)
(native-inputs (append (if (%current-target-system)
;; for wayland-scanner
(list pkg-config-for-build
wayland)
'())
(list pkg-config scdoc)))
(inputs (list cairo pango wayland libxkbcommon wayland-protocols))
(home-page "https://git.sr.ht/~adnano/wmenu")
(synopsis "Dynamic menu for Wayland")
(description "@command{wmenu} is a dynamic menu for Wayland, which reads a list
of newline-separated items from stdin. When the user selects an item and presses
Return, their choice is printed to stdout and wmenu terminates. Entering text will
narrow the items to those matching the tokens in the input.")
(license license:expat)))
(define-public sway
(package
(name "sway")