guix-commits
[Top][All Lists]
Advanced

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

28/69: gnu: Add rust-spirv-std-macros-0.4.


From: guix-commits
Subject: 28/69: gnu: Add rust-spirv-std-macros-0.4.
Date: Thu, 11 Nov 2021 10:43:25 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 3cd8964a8096c209192c9c1b55e03fbec4180192
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 10 10:33:53 2021 +0000

    gnu: Add rust-spirv-std-macros-0.4.
    
    * gnu/packages/crates-io.scm (rust-spirv-std-macros-0.4): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6b944bd..a534a04 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")



reply via email to

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