Subject: [bug#68312] [PATCH 143/156] gnu: Add rust-type-builder-macro-0.18.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:54:00 +0100

* gnu/packages/crates-io.scm (rust-type-builder-macro-0.18): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5ccd7ef0b66..3d2553a74d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81883,6 +81883,28 @@ (define-public rust-typed-arena-1
     (build-system cargo-build-system)
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-typed-builder-macro-0.18
+  (package
+    (name "rust-typed-builder-macro")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "typed-builder-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14mlf9733bmdf6bqzmhrzc1hbxfazp0mxvs751wckdaifccy8blq"))))
+    (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))))
+    (home-page "https://github.com/idanarye/rust-typed-builder")
+    (synopsis "Compile-time type-checked builder derive")
+    (description "Compile-time type-checked builder derive")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-typed-builder-0.5
   (package
     (name "rust-typed-builder")
-- 
2.41.0