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

commit 4710e2837bcc5f7892c7cbd87b48558ddf6df6cd
Author: Herman Rimm <[email protected]>
AuthorDate: Fri Jan 31 22:09:31 2025 +0100

    gnu: rust-http-0.2: Use newer rust-indexmap.
    
    * gnu/packages/crates-web.scm (rust-http-0.2): Use rust-indexmap-1
    instead of 1.8.
    [source]: Relax indexmap version requirement.
    
    Change-Id: I66be1f3061d5b7c306319e7560704d5a12a1096b
    Signed-off-by: Efraim Flashner <[email protected]>
---
 gnu/packages/crates-web.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index a730ee0cba..b434916664 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3850,7 +3850,11 @@ requests and responses.")
        (uri (crate-uri "http" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1w81s4bcbmcj9bjp7mllm8jlz6b31wzvirz8bgpzbqkpwmbvn730"))))
+        (base32 "1w81s4bcbmcj9bjp7mllm8jlz6b31wzvirz8bgpzbqkpwmbvn730"))
+       (modules '((guix build utils)))
+       ;; Tests pass with indexmap 1.9.3.
+       (snippet #~(substitute* "Cargo.toml"
+                    (("<=1.8") "1.8")))))
     (arguments
      `(#:cargo-inputs
        (("rust-bytes" ,rust-bytes-1)
@@ -3858,7 +3862,7 @@ requests and responses.")
         ("rust-itoa" ,rust-itoa-1))
        #:cargo-development-inputs
        (("rust-doc-comment" ,rust-doc-comment-0.3)
-        ("rust-indexmap" ,rust-indexmap-1.8)
+        ("rust-indexmap" ,rust-indexmap-1)
         ("rust-quickcheck" ,rust-quickcheck-0.9)
         ("rust-rand" ,rust-rand-0.7)
         ("rust-seahash" ,rust-seahash-3)

Reply via email to