~ruther/guix-local

d67b764ceb0da86a198ef692b162c80090f43af7 — Zheng Junjie 2 years ago 8a4ed00
gnu: Add wmenu.

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

Change-Id: I7395a23801471fba6a22a1b44f6c9a19dddd894e
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
1 files changed, 29 insertions(+), 0 deletions(-)

M gnu/packages/wm.scm
M gnu/packages/wm.scm => gnu/packages/wm.scm +29 -0
@@ 1759,6 1759,35 @@ modules for building a Wayland compositor.")
    (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")