Subject: [PATCH 06/42] gnu: Add rust-databake-0.1.

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

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

Change-Id: Ib46b7c32f9826703ba582ddc94da545ae773f1da
---
 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 fa93ec1ef2..3331ef9a4e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19422,6 +19422,30 @@ (define-public rust-databake-derive-0.1
     (description "Custom derive for the databake crate.")
     (license license:unicode)))
 
+(define-public rust-databake-0.1
+  (package
+    (name "rust-databake")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "databake" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0flmvn7ym0sz6mkh5mg08vcbxa6kjiknhj9bpspww54lwrr5s5w2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-databake-derive" ,rust-databake-derive-0.1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1))))
+    (home-page "https://github.com/unicode-org/icu4x")
+    (synopsis
+     "Trait that lets structs represent themselves as (const) Rust expressions")
+    (description
+     "Trait that lets structs represent themselves as (const) Rust expressions.")
+    (license license:unicode)))
+
 (define-public rust-data-encoding-2
   (package
     (name "rust-data-encoding")
-- 
2.41.0