Subject: [bug#69257] [PATCH rust-team v2 023/117] gnu: Add rust-ordered-multimap-0.4.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:54:49 +0200

* gnu/packages/crates-io.scm (rust-ordered-multimap-0.4): Add variable.
(rust-ordered-multimap-0.3): Inherit from rust-ordered-multimap-0.4.

Change-Id: Ibe77e9bb8268861c20c848cc9efb2307fb6ff1e7
---
 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 4bd03d7925..5bdcf94204 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49685,6 +49685,28 @@ (define-public rust-ordered-multimap-0.4
 insertion order across all keys and values.")
     (license license:expat)))
 
+(define-public rust-ordered-multimap-0.4
+  (package
+    (name "rust-ordered-multimap")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ordered-multimap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0jljv1257pfyf855jlwwas5mqkzk40b9lqfx40f73qbpf7ildmyc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-dlv-list" ,rust-dlv-list-0.3)
+                       ("rust-hashbrown" ,rust-hashbrown-0.12)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/sgodwincs/ordered-multimap-rs")
+    (synopsis "Insertion ordered multimap")
+    (description "This crate provides a multimap type object that
+maintains insertion order across all keys and values.")
+    (license license:expat)))
+
 (define-public rust-ordered-multimap-0.3
   (package
     (inherit rust-ordered-multimap-0.4)
-- 
2.41.0