diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-11-10 10:34:02 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-11-11 15:39:13 +0000 |
commit | fb4340e1eeb7624828c8112020924883bcf049f2 (patch) | |
tree | 095320990c0aaa98eedd806a0784a618a7d874ed /gnu | |
parent | 3cd8964a8096c209192c9c1b55e03fbec4180192 (diff) | |
download | guix-fb4340e1eeb7624828c8112020924883bcf049f2.tar guix-fb4340e1eeb7624828c8112020924883bcf049f2.tar.gz |
gnu: Add rust-spirv-std-0.4.
* gnu/packages/crates-io.scm (rust-spirv-std-0.4): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a534a04eee..a95f3adead 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48839,6 +48839,33 @@ and spirv-std-macros.") (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") |