Subject: [PATCH v0 2/4] gnu: Add zig-wayland-beanbag.

From: Ashvith Shetty <[email-masked]>
Date: Sun, 12 Jan 2025 23:49:01 +0530

This is a package variant of zig-wayland required by beanbag.

* gnu/packages/zig-xyz.scm (zig-wayland-beanbag): New variable.

Change-Id: Id429a70e4cc30772357a706cd2b83798ce5ca1af
---
 gnu/packages/zig-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index afb609ad50..bf86c0897a 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -240,6 +240,24 @@ (define-public zig-wayland
     (home-page "https://codeberg.org/ifreund/zig-wayland")
     (license license:expat)))
 
+(define zig-wayland-beanbag
+  (let ((commit "4761e625bcc8218650625edc4734710b29a9ff0b")
+        (revision "0"))
+    (hidden-package
+      (package
+        (inherit zig-wayland)
+        (name "zig-wayland")
+        (version (git-version "0.3.0" revision commit))
+        (source
+         (origin
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://codeberg.org/ifreund/zig-wayland")
+                 (commit commit)))
+           (file-name (git-file-name name version))
+           (sha256
+            (base32 "1v669w8mnm5bp8508cvy41189njai8j92r6l9j5advk8589c18f7"))))))))
+
 (define-public zig-wlroots
   (package
     (name "zig-wlroots")
-- 
2.47.1