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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d2553a74d1..be34e79c7e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81905,6 +81905,26 @@ (define-public rust-typed-builder-macro-0.18
     (description "Compile-time type-checked builder derive")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-typed-builder-0.18
+  (package
+    (name "rust-typed-builder")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "typed-builder" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12pkf3h3hahfqm8g6k3kl2qicl346szqq24qa74vfqcq2jb08z74"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-typed-builder-macro" ,rust-typed-builder-macro-0.18))))
+    (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