Subject: [bug#76513] [PATCH rust-team v2 25/77] gnu: Add rust-comemo-macros-0.4.

From: Andrew Wong <[email-masked]>
Date: Wed, 26 Feb 2025 19:50:35 -0500

* gnu/packages/crates-io.scm (rust-comemo-macros-0.4): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c2b30b1088..a76dc8df13 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14332,6 +14332,28 @@ (define-public rust-comemo-0.4
      "This package provides Incremental computation through constrained memoization.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-comemo-macros-0.4
+  (package
+    (name "rust-comemo-macros")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "comemo-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nr8w81hkzg49s515v61shxb077iq6d6001pybxbvxdlz516x4y8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/typst/comemo")
+    (synopsis "Procedural macros for comemo")
+    (description "This package provides Procedural macros for comemo.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-comfy-table-7
   (package
     (name "rust-comfy-table")
-- 
2.48.1