Subject: [PATCH rust-team v6 2/3] gnu: rust-derive-visitor: new variable

From: Aaron Covrig <[email-masked]>
Date: Sat, 23 Nov 2024 17:29:24 -0500

* gnu/packages/crates-io.scm (rust-derive-visitor-0.4): New variable.
---
 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 ef011feaac..f6e7cd09ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22011,6 +22011,25 @@ (define-public rust-derive-utils-0.11
 writing derives macros for enums.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-derive-visitor-0.4
+  (package
+    (name "rust-derive-visitor")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "derive-visitor" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17nacybndh0n2ayf0vchcrm5n4k6bmx605ijvax7qw5rhggnawfl"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-derive-visitor-macros" ,rust-derive-visitor-macros-0.4))))
+    (home-page "https://github.com/nikis05/derive-visitor")
+    (synopsis "Derive visitor pattern for arbitrary data structures")
+    (description "Derive visitor pattern for arbitrary data structures.")
+    (license license:expat)))
+
 (define-public rust-derive-visitor-macros-0.4
   (package
     (name "rust-derive-visitor-macros")
-- 
2.46.0