diff options
author | Rutger Helling <rhelling@mykolab.com> | 2018-07-07 22:38:37 +0200 |
---|---|---|
committer | Rutger Helling <rhelling@mykolab.com> | 2018-07-07 22:41:16 +0200 |
commit | bee7e46ac35aeb31acbf30acfb6b03fb21799d10 (patch) | |
tree | 5410166620fe86a64037d429daa1f8397ea9148d | |
parent | 5d28e49b1b57832790ba3ca57c59d3a5f9fc218a (diff) | |
download | guix-bee7e46ac35aeb31acbf30acfb6b03fb21799d10.tar guix-bee7e46ac35aeb31acbf30acfb6b03fb21799d10.tar.gz |
gnu: Add vulkan-tools.
* gnu/packages/vulkan.scm (vulkan-tools): New variable.
-rw-r--r-- | gnu/packages/vulkan.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 7830525457..a8442cb7a6 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -239,6 +239,41 @@ and the ICD.") (define-public vulkan-icd-loader (deprecated-package "vulkan-icd-loader" vulkan-loader)) +(define-public vulkan-tools + (package + (name "vulkan-tools") + (version (package-version vulkan-headers)) + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/KhronosGroup/Vulkan-Tools/" + "archive/sdk-" version ".tar.gz")) + (sha256 + (base32 + "1imbiw8crrkxgsjkgmv5x6s9yx89g6v3r2s5qfm5h31pv6lyzshm")))) + (build-system cmake-build-system) + (inputs + `(("glslang" ,glslang) + ("libxrandr" ,libxrandr) + ("mesa" ,mesa) + ("vulkan-headers" ,vulkan-headers) + ("vulkan-loader" ,vulkan-loader) + ("wayland" ,wayland))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("python" ,python))) + (arguments + `(#:tests? #f)) ; No 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 + (define-public shaderc (let ((commit "be8e0879750303a1de09385465d6b20ecb8b380d") (revision "2")) |