Subject: [bug#61959] [PATCH 6/7] gnu: Add asahi-mesa-headers.

From: Roman Scherer <[email-masked]>
Date: Sat, 4 Mar 2023 15:46:39 +0100

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

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index fd4ae587b9..6a9dc41832 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -663,6 +663,19 @@ (define-public asahi-mesa
        ("wayland-protocols" ,wayland-protocols-next)
        ,@(fold alist-delete (package-inputs mesa)
                '("llvm" "wayland-protocols"))))))
+
+(define-public asahi-mesa-headers
+  (package/inherit mesa-headers
+    (name "asahi-mesa-headers")
+    (version "20221229")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://gitlab.freedesktop.org/asahi/mesa/-/archive/"
+                           "asahi-" version "/mesa-asahi-" version ".tar.gz"))
+       (sha256
+        (base32 "1gg0msrx2d2mgif4jqljns8nqf29nazqpxcxmjaa50yf50n6n05p"))))))
+
 (define-public glew
   (package
     (name "glew")
-- 
2.39.1