Subject: [bug#71278] [PATCH 42/44] gnu: Add rust-slotmap-0.4.

From: Murilo <[email-masked]>
Date: Thu, 30 May 2024 12:18:09 -0300

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

Change-Id: If96d23458d5fc6e6a0792885d6d003c9370cb7e0
---
 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 3a8e49c0c8..4281aac586 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72153,6 +72153,26 @@ (define-public rust-slotmap-1
     (description "Slotmap data structure")
     (license license:zlib)))
 
+(define-public rust-slotmap-0.4
+  (package
+    (inherit rust-slotmap-1)
+    (name "rust-slotmap")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "slotmap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cga58417vz6m0bazvicprb01mm1x690wy8rj7g8fyvnqn24dwvb"))))
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-fxhash" ,rust-fxhash-0.2)
+                                   ("rust-quickcheck" ,rust-quickcheck-0.8)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-serde-derive" ,rust-serde-derive-1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-slug-0.1
   (package
     (name "rust-slug")
-- 
2.41.0