guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/68: gnu: Add rust-ordered-multimap-0.4.


From: guix-commits
Subject: 25/68: gnu: Add rust-ordered-multimap-0.4.
Date: Wed, 20 Mar 2024 11:24:29 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 86b0fa91a735cd93b87d30592fdc3aee01397e0d
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:06 2024 +0100

    gnu: Add rust-ordered-multimap-0.4.
    
    * 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
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2125c6668b..e2be2e6558 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46759,8 +46759,31 @@ PartialOrd types, like floats.")
         (base32
          "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq"))))))
 
+(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)
     (name "rust-ordered-multimap")
     (version "0.3.1")
     (source
@@ -46770,18 +46793,12 @@ PartialOrd types, like floats.")
        (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.2
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]