~ruther/guix-exprs

c1c480c39cbc596bc93245c4d10e2326cbf6b218 — Rutherther 7 days ago 75eae2a
feat: add mew
1 files changed, 48 insertions(+), 0 deletions(-)

M modules/ruther/packages/wayland.scm
M modules/ruther/packages/wayland.scm => modules/ruther/packages/wayland.scm +48 -0
@@ 13,7 13,10 @@
  #:use-module (gnu packages ghostscript)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages base)

  #:use-module ((guix build-system gnu))
  #:use-module ((guix build-system gnu) #:prefix gnu:)
  #:use-module ((guix build-system meson) #:prefix meson:)
  #:use-module ((guix build-system python) #:prefix python:)


@@ 46,6 49,51 @@
    (home-page "https://github.com/nyyManni/dmenu-wayland")
    (license #f)))

(define-public mew
  (package
    (name "mew")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://codeberg.org/sewn/mew")
             (commit "e96bf181b8e5ddf8b463c43a7ac56c10cd859694")))
       (sha256
        (base32 "0yzcmgxabhchipd1km8jr864rnpvwy0c6zr2hc4677sc2g827hq4"))))
    (inputs
     (list
      pkg-config
      fcft
      pixman
      wayland
      wayland-protocols
      libxkbcommon
      coreutils))
    (arguments
     (list
      #:tests? #f
      #:phases #~(modify-phases %standard-phases
                   (delete 'configure)
                   (add-after 'install 'wrap
                     (lambda _
                       (let* ((out #$output)
                              (bin-dir (string-append out "/bin"))
                              (mew-run (string-append bin-dir "/mew-run"))
                              (coreutils-bindir (string-append #$(this-package-input "coreutils") "/bin"))
                              (path-prefix (list bin-dir coreutils-bindir)))
                         (wrap-program
                             mew-run
                           `("PATH" ":" prefix
                             ,path-prefix))))))
      #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
                           (string-append "PREFIX=" #$output))))
    (home-page "https://codeberg.org/sewn/mew")
    (build-system gnu-build-system)
    (synopsis "mew is a efficient dynamic menu for Wayland, an effective port of dmenu to Wayland.")
    (description "mew is a efficient dynamic menu for Wayland, an effective port of dmenu to Wayland.")
    (license license:expat)))

(define-public wayland-1.23
  (package
    (inherit wayland)

Do not follow this link