Subject: [bug#70147] [PATCH 04/42] gnu: Add rust-databake-derive-0.1.

From: Wilko Meyer <[email-masked]>
Date: Tue, 2 Apr 2024 18:22:21 +0200

* gnu/packages/crates-io.scm (rust-databake-derive-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 561694b6d5..fa93ec1ef2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19399,6 +19399,29 @@ (define-public rust-dashmap-4
         ("rust-rayon" ,rust-rayon-1)
         ("rust-serde" ,rust-serde-1))))))
 
+(define-public rust-databake-derive-0.1
+  (package
+    (name "rust-databake-derive")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "databake-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hqsjizibp0bb5m4kiqk9g2gixywqlxn513w5a366dpjv20z4yip"))))
+    (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)
+                       ("rust-synstructure" ,rust-synstructure-0.13))))
+    (home-page "https://github.com/unicode-org/icu4x")
+    (synopsis "Custom derive for the databake crate")
+    (description "Custom derive for the databake crate.")
+    (license license:unicode)))
+
 (define-public rust-data-encoding-2
   (package
     (name "rust-data-encoding")
-- 
2.41.0