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 <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2025-01-31 22:09:31 +01:00 committed by Hilton Chain
parent cee2f091a2
commit a7c97b3478
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -3851,7 +3851,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)
@ -3859,7 +3863,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)