aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordan <i@dan.games>2024-03-28 11:54:53 +0800
committerJohn Kehayias <john.kehayias@protonmail.com>2024-04-01 01:12:46 -0400
commit3704c64c0e1787dce6e73e4e3c3283dff57e22b5 (patch)
treeb225fc6ead700002c5f01de9602324a033d7076c
parent1f69c19b4c4d4b770dfb69d3bf3a37e02fae8c97 (diff)
downloadguix-3704c64c0e1787dce6e73e4e3c3283dff57e22b5.tar
guix-3704c64c0e1787dce6e73e4e3c3283dff57e22b5.tar.gz
gnu: Add vulkan-utility-libraries.
* gnu/packages/vulkan.scm (vulkan-utility-libraries): New variable. Change-Id: I5a7c3fa51150e2181197316f6b97a54f12a24236 Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
-rw-r--r--gnu/packages/vulkan.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index baa2427551..26df2bf63b 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -37,6 +37,7 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
+ #:use-module (gnu packages cpp)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
@@ -598,3 +599,27 @@ storage.")
(home-page
"https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator")
(license license:expat)))
+
+(define-public vulkan-utility-libraries
+ (package
+ (name "vulkan-utility-libraries")
+ (version "1.3.280.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KhronosGroup/Vulkan-Utility-Libraries")
+ (commit (string-append "vulkan-sdk-" version))))
+ (sha256
+ (base32 "17fmalilczs4x435f8kdx8bf0x5mnjhkmcp34xap8lanpbyzs84q"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DBUILD_TESTS=ON")))
+ (inputs (list vulkan-headers))
+ (native-inputs (list googletest magic-enum))
+ (home-page "https://github.com/KhronosGroup/Vulkan-Utility-Libraries")
+ (synopsis "Utility libraries for Vulkan developers")
+ (description "Utility libraries for Vulkan developers.")
+ (license license:asl2.0)))