Subject: [mesa-updates 04/13] gnu: spirv-cross: Update to vulkan-sdk-1.3.275.0.

From: dan <[email-masked]>
Date: Thu, 29 Feb 2024 01:31:37 +0800

* gnu/packages/vulkan.scm (spirv-cross): Update to vulkan-sdk-1.3.275.0.

Change-Id: I936c999d8c97ab4024e505c1afdeba7baddeecfa
---
 gnu/packages/vulkan.scm | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 3b485901d8..12baf52f92 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -124,28 +124,26 @@ (define-public spirv-cross
              (url "https://github.com/KhronosGroup/SPIRV-Cross")
              (commit version)))
        (sha256
-        (base32 "1ypbc1krkr0yywa1m976g3sjyb80l7hxwrnh6gp70w6va1dlnnn9"))
+        (base32 "0zdpgj0lv8kqzcna7y44qdjvxjifaxmmmcar835y4cdr35izf6ij"))
        (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags
-       (list "-DSPIRV_CROSS_SHARED=YES")
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-tests-to-find-deps
-           (lambda* (#:key inputs #:allow-other-keys)
-             (substitute* "CMakeLists.txt"
-               (("\\$\\{CMAKE_(.*)_DIR\\}/external/glslang(.*)/bin")
-                (string-append (assoc-ref inputs "glslang") "/bin")))
-             (substitute* "CMakeLists.txt"
-               (("\\$\\{CMAKE_(.*)_DIR\\}/external/spirv-tools(.*)/bin")
-                (string-append (assoc-ref inputs "spirv-tools") "/bin")))))
-         (add-before 'check 'update-reference-shaders
-           (lambda _
-             (with-directory-excursion "../source"
-               (invoke "./update_test_shaders.sh")))))))
-    (inputs
-     (list glslang spirv-headers spirv-tools))
+     `(#:configure-flags (list "-DSPIRV_CROSS_SHARED=YES")
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'fix-tests-to-find-deps
+                    (lambda* (#:key inputs #:allow-other-keys)
+                      (substitute* "CMakeLists.txt"
+                        (("\\$\\{CMAKE_(.*)_DIR\\}/external/glslang(.*)/bin")
+                         (string-append (assoc-ref inputs "glslang") "/bin")))
+                      (substitute* "CMakeLists.txt"
+                        (("\\$\\{CMAKE_(.*)_DIR\\}/external/spirv-tools(.*)/bin")
+                         (string-append (assoc-ref inputs "spirv-tools")
+                                        "/bin")))))
+                  (add-before 'check 'update-reference-shaders
+                    (lambda _
+                      (with-directory-excursion "../source"
+                        (invoke "./update_test_shaders.sh")))))))
+    (inputs (list glslang spirv-headers spirv-tools))
     (native-inputs (list python))
     (home-page "https://github.com/KhronosGroup/SPIRV-Cross")
     (synopsis "Parser for and converter of SPIR-V to other shader languages")
-- 
2.41.0