Subject: [bug#71278] [PATCH v2 10/44] gnu: Add rust-cached-proc-macro-0.19.

From: Murilo <[email-masked]>
Date: Fri, 31 May 2024 09:38:00 -0300

* gnu/packages/crates-io.scm (rust-cached-proc-macro-0.19): New variable.

Change-Id: I534732f61e74cbbd53970d5c9c93baa64b36b352
---
 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 5259c55f3d..c7f290d01f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10473,6 +10473,31 @@ (define-public rust-cachedir-0.3
 others, add a tag, ensure/check a tag exists and get the state of a tag.")
     (license license:expat)))
 
+(define-public rust-cached-proc-macro-0.19
+  (package
+    (name "rust-cached-proc-macro")
+    (version "0.19.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cached_proc_macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18g6fv3f70rqi8x30b4jaq2jkxm9ck4shv45jsr7bj6bywkgallx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-syn" ,rust-syn-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-darling" ,rust-darling-0.14))))
+    (home-page "https://github.com/jaemk/cached")
+    (synopsis
+     "Generic cache implementations and simplified function memoization")
+    (description
+     "Generic cache implementations and simplified function memoization")
+    (license license:expat)))
+
 (define-public rust-calamine-0.24
   (package
     (name "rust-calamine")
-- 
2.41.0