guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: Add vulkan-tools.


From: Rutger Helling
Subject: 02/02: gnu: Add vulkan-tools.
Date: Sat, 7 Jul 2018 16:41:22 -0400 (EDT)

rhelling pushed a commit to branch master
in repository guix.

commit bee7e46ac35aeb31acbf30acfb6b03fb21799d10
Author: Rutger Helling <address@hidden>
Date:   Sat Jul 7 22:38:37 2018 +0200

    gnu: Add vulkan-tools.
    
    * gnu/packages/vulkan.scm (vulkan-tools): New variable.
---
 gnu/packages/vulkan.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 7830525..a8442cb 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]