diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-01-21 20:21:46 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-16 10:16:39 +0100 |
| commit | 9b6f14eb0e26a3af7dd760cfb7e26e1dba6638e3 (patch) | |
| tree | 63ed55fbadc532fdbc759b6a16409f3713f9febe | |
| parent | 6ea151888c20c64ea01594c9cb08f276347a13ea (diff) | |
gnu: vulkan-tools: Update to 1.4.335.
* gnu/packages/vulkan.scm (vulkan-tools): Update to 1.4.335.
Change-Id: Iab08a8a9cd6b1ad708548b19eb7303f6c806e717
| -rw-r--r-- | gnu/packages/vulkan.scm | 96 |
1 files changed, 46 insertions, 50 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 661fa5ab20f..6cd9ecdbee7 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -456,58 +456,54 @@ and the ICD.") license:bsd-3)))) (define-public vulkan-tools - ;; Required to fix an issue. See: - ;; https://github.com/KhronosGroup/Vulkan-Tools/issues/1130 - (let ((commit "105d6c1fede00c3a9055e5a531ebf3d99bac406e") - (revision "1")) - (package - (name "vulkan-tools") - (version (git-version "1.4.321.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/KhronosGroup/Vulkan-Tools") - (commit commit))) - (file-name (git-file-name name version)) - (modules '((guix build utils))) - (snippet - #~(substitute* "tests/icd/mock_icd_tests.cpp" - ;; Disable driver info test since it relies on git branch info - (("ASSERT_EQ\\(std::string\\(driver_properties\\.driverInfo\\)") - "// ASSERT_EQ(std::string(driver_properties.driverInfo)"))) - (sha256 - (base32 - "1dphpf4v0kip2b0vhhwb136gjjmgxc64gg26sg3wpg6nnwakpznc")))) - (build-system cmake-build-system) - (inputs - (list glslang libxrandr vulkan-loader wayland wayland-protocols)) - (native-inputs - (list googletest pkg-config python vulkan-headers)) - (arguments - (list - #:configure-flags #~(list "-DBUILD_TESTS=ON") - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-libvulkan-file-name - (lambda* (#:key inputs #:allow-other-keys) - (substitute* '("vulkaninfo/vulkaninfo_functions.h" - "cube/cube_functions.h") - (("dlopen\\(\"libvulkan.so.1") - (string-append "dlopen(\"" - (search-input-file - inputs "/lib/libvulkan.so.1")))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "./tests/vulkan_tools_tests"))))))) - (home-page - "https://github.com/KhronosGroup/Vulkan-Tools") - (synopsis "Tools and utilities for Vulkan") - (description - "Vulkan-Tools provides tools and utilities that can assist development by + (package + (name "vulkan-tools") + (version "1.4.335.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KhronosGroup/Vulkan-Tools") + (commit (string-append "vulkan-sdk-" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + #~(substitute* "tests/icd/mock_icd_tests.cpp" + ;; Disable driver info test since it relies on git branch info + (("ASSERT_EQ\\(std::string\\(driver_properties\\.driverInfo\\)") + "// ASSERT_EQ(std::string(driver_properties.driverInfo)"))) + (sha256 + (base32 + "07b5jlvp70apmkj0b8l2w086h0vbcfl49n7xr35kmv46p0n37z0b")))) + (build-system cmake-build-system) + (inputs + (list glslang libxrandr vulkan-loader wayland wayland-protocols)) + (native-inputs + (list googletest pkg-config python vulkan-headers)) + (arguments + (list + #:configure-flags #~(list "-DBUILD_TESTS=ON") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-libvulkan-file-name + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("vulkaninfo/vulkaninfo_functions.h" + "cube/cube_functions.h") + (("dlopen\\(\"libvulkan.so.1") + (string-append "dlopen(\"" + (search-input-file + inputs "/lib/libvulkan.so.1")))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./tests/vulkan_tools_tests"))))))) + (home-page + "https://github.com/KhronosGroup/Vulkan-Tools") + (synopsis "Tools and utilities for Vulkan") + (description + "Vulkan-Tools provides tools and utilities that can assist development by enabling developers to verify their applications correct use of the Vulkan API.") - (license (list license:asl2.0))))) ;LICENSE.txt + (license (list license:asl2.0)))) ;LICENSE.txt (define-public shaderc (package |
