Subject: [PATCH v2 7/7] gnu: Add asahi-mesa-utils.

From: Roman Scherer <[email-masked]>
Date: Sun, 5 Mar 2023 11:53:15 +0100

* gnu/packages/gl.scm (asahi-mesa-utils): New variable.
---
 gnu/packages/gl.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index c2e9d26ce2..5555f4f39a 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -668,6 +668,21 @@ (define-public asahi-mesa-headers
     (version (package-version asahi-mesa))
     (source (package-source asahi-mesa))))
 
+(define-public asahi-mesa-utils
+  (package/inherit mesa-utils
+    (name "asahi-mesa-utils")
+    (version "8.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://archive.mesa3d.org/demos/" version
+                           "/mesa-demos-" version ".tar.bz2"))
+       (sha256 (base32 "1hdaf7pnh5h4f16pzrxqw3g5s37r5dkimsy46pv316phh05dz8nf"))))
+    (build-system meson-build-system)
+    (inputs
+     (modify-inputs (package-inputs mesa-utils)
+       (replace "mesa" asahi-mesa)))))
+
 (define-public glew
   (package
     (name "glew")
-- 
2.39.1