[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60571] [PATCH 1/4] gnu: Add spirv-headers-for-skia.
From: |
Nicolas Graves |
Subject: |
[bug#60571] [PATCH 1/4] gnu: Add spirv-headers-for-skia. |
Date: |
Thu, 5 Jan 2023 13:18:39 +0100 |
* gnu/packages/vulkan.scm (spirv-headers-for-skia): New variable.
---
gnu/packages/vulkan.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index a2db5511d5..8895d8a5cf 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -74,6 +74,23 @@ (define-public spirv-headers
(string-append
"https://github.com/KhronosGroup/SPIRV-Headers/blob/"
version "/LICENSE")))))
+(define-public spirv-headers-for-skia
+ (let ((commit "814e728b30ddd0f4509233099a3ad96fd4318c07")
+ (revision "0"))
+ (package
+ (inherit spirv-headers)
+ (name "spirv-headers-for-skia")
+ (version "skia")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0v6ycgfxh9d2gzhxrnxgrn5gyg2cshg55767qdg46px8412j5lbi")))))))
+
(define-public spirv-tools
(package
(name "spirv-tools")
--
2.38.1