me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/vulkan.scm (spirv-headers) [version]: Replace with
%vulkan-sdk-version variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
master
dan 2022-11-19 23:02:38 +08:00 committed by Maxim Cournoyer
parent 3407a47c2a
commit 2bbfd7e4ae
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 4 additions and 2 deletions

View File

@ -42,16 +42,18 @@
#:use-module (gnu packages wine) #:use-module (gnu packages wine)
#:use-module (gnu packages xorg)) #:use-module (gnu packages xorg))
(define %vulkan-sdk-version "sdk-1.3.231.1")
(define-public spirv-headers (define-public spirv-headers
(package (package
(name "spirv-headers") (name "spirv-headers")
(version "1.3.231.1") (version %vulkan-sdk-version)
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/KhronosGroup/SPIRV-Headers") (url "https://github.com/KhronosGroup/SPIRV-Headers")
(commit (string-append "sdk-" version)))) (commit version)))
(sha256 (sha256
(base32 (base32
"0z8b485hryya2g0jxv7amwg3fjj7pchbgnsa5ldf5fwgh5js0icm")) "0z8b485hryya2g0jxv7amwg3fjj7pchbgnsa5ldf5fwgh5js0icm"))