diff mbox series

[bug#67515,40/91] gnu: Add rust-ordered-multimap-0.6.

Message ID DU2P193MB213279A5DFB87EB1B1615F63F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* gnu/packages/crates-io.scm (rust-ordered-multimap-0.6): New variable.

Change-Id: Ic91831ef26baf7f96b374dd58cca72f96e926f2c
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9090141f4f..5783d478d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47881,8 +47881,32 @@  (define-public rust-ordered-float-1
         (base32
          "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq"))))))
 
+(define-public rust-ordered-multimap-0.6
+  (package
+    (name "rust-ordered-multimap")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ordered-multimap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03k9jx3irxldq4hp462ld25fcr03xcycd2sc73jl9rwqivqarn2f"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-dlv-list" ,rust-dlv-list-0.5)
+                       ("rust-hashbrown" ,rust-hashbrown-0.13)
+                       ("rust-coverage-helper" ,rust-coverage-helper-0.1)
+                       ("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.6)
     (name "rust-ordered-multimap")
     (version "0.3.1")
     (source
@@ -47892,18 +47916,12 @@  (define-public rust-ordered-multimap-0.3
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1194q7sb2d6chbllsn7237dhhvx04iqr3sq0ii16w1pcv5x2qrqw"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-dlv-list" ,rust-dlv-list-0.2)
         ("rust-hashbrown" ,rust-hashbrown-0.9)
-        ("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)))
+        ("rust-serde" ,rust-serde-1))))))
 
 (define-public rust-ordered-stream-0.1
   (package