@@ -41,7 +41,7 @@
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
-;;; Copyright © 2021, 2023 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021, 2023, 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
;;; Copyright © 2021 lasnesne <lasnesne@lagunposprasihopre.org>
@@ -1752,6 +1752,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.6")
+ (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
+ "0cdjwgkv8zkbdhni5awy1njcyggn1jxxzmacws29xfpx7pnxzjay"))))
+ (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 "wmenu is an efficient dynamic menu for Sway and wlroots based
+Wayland compositors.")
+ (description "wmenu is an efficient dynamic menu for Sway and wlroots based
+Wayland compositors. It provides a Wayland-native dmenu replacement which
+maintains the look and feel of dmenu.")
+ (license license:expat)))
+
(define-public sway
(package
(name "sway")