gnu: Add vulkan-headers.

* gnu/packages/vulkan.scm (vulkan-headers): New variable.
This commit is contained in:
Rutger Helling 2018-07-03 09:33:54 +02:00
parent 940c2c5c14
commit cf09bed4f5
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 23 additions and 0 deletions

View File

@ -160,6 +160,29 @@ interpretation of the specifications for these languages.")
;; include/SPIRV/{bitutils,hex_float}.h are Apache 2.0. ;; include/SPIRV/{bitutils,hex_float}.h are Apache 2.0.
license:asl2.0))))) license:asl2.0)))))
(define-public vulkan-headers
(package
(name "vulkan-headers")
(version "1.1.77.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/KhronosGroup/Vulkan-Headers/"
"archive/sdk-" version ".tar.gz"))
(sha256
(base32
"05pgaqyj516lmzdr4clxll5gvr5zb29sfjhs2d7mkryqs6zk5xdj"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; No tests.
(home-page
"https://github.com/KhronosGroup/Vulkan-Headers")
(synopsis "Vulkan Header files and API registry")
(description
"Vulkan-Headers contains header files and API registry for Vulkan.")
(license (list license:asl2.0)))) ;LICENSE.txt
(define-public vulkan-loader (define-public vulkan-loader
(package (package
(name "vulkan-loader") (name "vulkan-loader")