Subject: [bug#70147] [PATCH 30/42] gnu: Add rust-type-map-0.4.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a0ea99741..cc7d625251 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84820,6 +84820,27 @@ (define-public rust-typed-builder-macro-0.16
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2))))))
 
+(define-public rust-type-map-0.4
+  (package
+    (name "rust-type-map")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "type-map" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ilsqq7pcl3k9ggxv2x5fbxxfd6x7ljsndrhc38jmjwnbr63dlxn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #f
+       #:cargo-inputs (("rust-rustc-hash" ,rust-rustc-hash-1))))
+    (home-page "https://github.com/kardeiz/type-map")
+    (synopsis "Provides a typemap container with FxHashMap")
+    (description
+     "This package provides a typemap container with @code{FxHashMap}")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-typemap-0.3
   (package
     (name "rust-typemap")
-- 
2.41.0