gnu: spirv-tools: Improve style.

* gnu/packages/vulkan.scm (spirv-tools):[arguments]: Use Gexp.
[native-inputs]: Remove python; add python-minimal.

Change-Id: I91c66e8b196a00f9beb327e440f39d2675964f99
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
Cayetano Santos 2025-08-08 09:47:45 +02:00 committed by Andreas Enge
parent 33b59aef3f
commit 5873aa84c8
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -98,7 +98,9 @@ and for the GLSL.std.450 extended instruction set.
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON" (list
#:configure-flags
#~(list "-DBUILD_SHARED_LIBS=ON"
;; Some packages like mpv fail to link ;; Some packages like mpv fail to link
;; when the static libraries are built. ;; when the static libraries are built.
"-DSPIRV_TOOLS_BUILD_STATIC=OFF" "-DSPIRV_TOOLS_BUILD_STATIC=OFF"
@ -106,7 +108,7 @@ and for the GLSL.std.450 extended instruction set.
"-DSPIRV-Headers_SOURCE_DIR=" "-DSPIRV-Headers_SOURCE_DIR="
(assoc-ref %build-inputs "spirv-headers"))))) (assoc-ref %build-inputs "spirv-headers")))))
(inputs (list spirv-headers)) (inputs (list spirv-headers))
(native-inputs (list pkg-config python)) (native-inputs (list pkg-config python-minimal))
(home-page "https://github.com/KhronosGroup/SPIRV-Tools") (home-page "https://github.com/KhronosGroup/SPIRV-Tools")
(synopsis "API and commands for processing SPIR-V modules") (synopsis "API and commands for processing SPIR-V modules")
(description (description