summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-10 10:33:53 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:12 +0000
commit3cd8964a8096c209192c9c1b55e03fbec4180192 (patch)
treede7dcc7e23d72f53ac07d0a64ddca1971712a892 /gnu
parente80093153aec7aa15fc01fbd61c9a375dbb6e4d2 (diff)
downloadguix-3cd8964a8096c209192c9c1b55e03fbec4180192.tar.gz
gnu: Add rust-spirv-std-macros-0.4.
* gnu/packages/crates-io.scm (rust-spirv-std-macros-0.4): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6b944bd2a0..a534a04eee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48814,6 +48814,31 @@ provided by @code{lock_api}.")
 and spirv-std-macros.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-spirv-std-macros-0.4
+  (package
+    (name "rust-spirv-std-macros")
+    (version "0.4.0-alpha.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "spirv-std-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19cc15vq9ybdap39qxpf4vsz5q6li21mzgv47zqbyj5vvwaqazi0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-heck" ,rust-heck-0.3)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-spirv-types" ,rust-spirv-types-0.4)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/EmbarkStudios/rust-gpu")
+    (synopsis "Macros for spirv-std")
+    (description "This package provides macros for spirv-std.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-spmc-0.3
   (package
     (name "rust-spmc")