gnu: spirv-tools: Replace version with %vulkan-sdk-version.

* gnu/packages/vulkan.scm (spirv-tools)[version]: Replace with
%vulkan-sdk-version.
The commit of tag '2022.4' and 'sdk-1.3.231.1' are the same.

Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
dan 2022-11-19 23:02:39 +08:00 committed by Maxim Cournoyer
parent 2bbfd7e4ae
commit f0895be903
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -79,13 +79,13 @@ (define-public spirv-headers
(define-public spirv-tools
(package
(name "spirv-tools")
(version "2022.4")
(version %vulkan-sdk-version)
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/KhronosGroup/SPIRV-Tools")
(commit (string-append "v" version))))
(commit version)))
(sha256
(base32 "03d489ind2az7w7q1slj3mdc04372r3qqbnd7m9akxbg7yix1a5j"))
(file-name (git-file-name name version))))