Subject: [PATCH 4/8] gnu: Add rust-serde-with-macros-2.

From: Wilko Meyer <[email-masked]>
Date: Fri, 18 Oct 2024 01:56:37 +0200

* gnu/packages/crates-io.scm (rust-serde-with-macros-2): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8b0d9a5011..d95b60791b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70137,6 +70137,25 @@ (define-public rust-serde-with-macros-3
 @code{serde_with}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serde-with-macros-2
+  (package
+    (inherit rust-serde-with-macros-3)
+    (name "rust-serde-with-macros")
+    (version "2.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde_with_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0pv9wy1aihsaklg83qac4q0ksimbxcwwk56lwla35l8p3f46y6w8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-darling" ,rust-darling-0.20)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))))
+
 (define-public rust-serde-with-macros-1
   (package
     (inherit rust-serde-with-macros-3)
-- 
2.46.0