Subject: [PATCH rust-team v2 031/117] gnu: Add rust-ruma-macros-0.12.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:54:57 +0200

* gnu/packages/crates-io.scm (rust-ruma-macros-0.12): Add variable.

Change-Id: Ia606fb813209fdea2539dfe1d156c182c8e7b809
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c90aa0e5d1..6ec1fb522f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64375,6 +64375,33 @@ (define-public rust-ruma-identifiers-validation-0.9
 and ruma-macros.")
     (license license:expat)))
 
+(define-public rust-ruma-macros-0.12
+  (package
+    (name "rust-ruma-macros")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "105y2inhb9z7ydkax43qfc5ws264z72gm19ji1pl2d1y9d557002"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-proc-macro-crate" ,rust-proc-macro-crate-2)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-ruma-identifiers-validation" ,rust-ruma-identifiers-validation-0.9)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-toml" ,rust-toml-0.8))))
+    (home-page "https://www.ruma.io/")
+    (synopsis "Procedural macros used by the Ruma crates.")
+    (description
+      "This package provides procedural macros used by the Ruma crates.")
+    (license license:expat)))
+
 (define-public rust-run-script-0.10
   (package
     (name "rust-run-script")
-- 
2.41.0