Subject: [PATCH rust-team 24/77] gnu: Add rust-comemo-0.4.

From: Andrew Wong <[email-masked]>
Date: Sun, 23 Feb 2025 15:21:15 -0500

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f86da6441f..c2b30b1088 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14308,6 +14308,30 @@ (define-public rust-combine-regex-1-1
 and 1.0.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-comemo-0.4
+  (package
+    (name "rust-comemo")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "comemo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14bsiayib4lhz3jrbf1fqh2fpwsm6cii90mifym3jhvji901csfz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-comemo-macros" ,rust-comemo-macros-0.4)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-siphasher" ,rust-siphasher-1))))
+    (home-page "https://github.com/typst/comemo")
+    (synopsis "Incremental computation through constrained memoization")
+    (description
+     "This package provides Incremental computation through constrained memoization.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-comfy-table-7
   (package
     (name "rust-comfy-table")
-- 
2.48.1