~ruther/guix-local

7c1a30f3f91bd2e173d43ef110ed471abfcbb17e — Murilo 6 months ago e103c2d
gnu: Add wayland-protocols-next.

This is a temporary package for a newer version of wayland-protocols for use
in hyprland.  The update is already done on mesa-updates so this package will
be removed there before the branch is merged to master.

* gnu/packages/freedesktop.scm (wayland-protocols-next): New variable.

Change-Id: I3751d908f92463c7cb974eba25e3b9888e8238f7
Signed-off-by: John Kehayias <john@guixotic.coop>
1 files changed, 17 insertions(+), 0 deletions(-)

M gnu/packages/freedesktop.scm
M gnu/packages/freedesktop.scm => gnu/packages/freedesktop.scm +17 -0
@@ 1621,6 1621,23 @@ protocol either in Wayland core, or some other protocol in wayland-protocols.")
    (home-page "https://wayland.freedesktop.org")
    (license license:expat)))

;; TODO: Remove this package when wayland-protocols >= 1.45.
;; This package is currently only used by hyprland.
;; It will be removed on the next mesa-updates merge.
(define-public wayland-protocols-next
  (package/inherit wayland-protocols
    (name "wayland-protocols")
    (version "1.45")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://gitlab.freedesktop.org/wayland/wayland-protocols")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d2fv41vq75pvgkd3ykjypnp8zv0afv71p36cd91h19lbmwaia8h"))))))

(define-public wayland-protocols-1.42
  (package
    (inherit wayland-protocols)