gnu: Add rust-spirv-std-0.4.

* gnu/packages/crates-io.scm (rust-spirv-std-0.4): New variable.
This commit is contained in:
Ricardo Wurmus 2021-11-10 10:34:02 +00:00
parent 3cd8964a80
commit fb4340e1ee
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -48839,6 +48839,33 @@ (define-public rust-spirv-std-macros-0.4
(description "This package provides macros for spirv-std.")
(license (list license:expat license:asl2.0))))
(define-public rust-spirv-std-0.4
(package
(name "rust-spirv-std")
;; We use a slightly older version here, because of problems building glam
;; 0.13.1 with more recent versions.
(version "0.4.0-alpha.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "spirv-std" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "14npd838bqnw09iab0zq94xs4yl69m6c0cdfzxa9fal0zxqlqv3j"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-spirv-std-macros" ,rust-spirv-std-macros-0.4)
("rust-spirv-types" ,rust-spirv-types-0.4))))
(home-page "https://github.com/EmbarkStudios/rust-gpu")
(synopsis "Standard functions and types for SPIR-V")
(description "This package provides standard functions and types for
SPIR-V.")
(license (list license:expat license:asl2.0))))
(define-public rust-spmc-0.3
(package
(name "rust-spmc")