gnu: rust-hashbrown-0.8: Update to 0.8.2.

* gnu/packages/crates-io.scm (rust-hashbrown-0.8): Update to 0.8.2.
[source]: Add snippet to allow newer versions of rustc-hash.
[cargo-inputs]: Add rust-autocfg-1.
This commit is contained in:
Efraim Flashner 2023-04-25 14:39:25 +03:00
parent 4c51d30199
commit e855da63b4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -26572,18 +26572,23 @@ (define-public rust-hashbrown-0.8
(package (package
(inherit rust-hashbrown-0.9) (inherit rust-hashbrown-0.9)
(name "rust-hashbrown") (name "rust-hashbrown")
(version "0.8.0") (version "0.8.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "hashbrown" version)) (uri (crate-uri "hashbrown" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "09y86zmf59n6ys9yf2bvg9ckwwa1ijv2i3flkz45iqkwfmh7i6xb")))) (base32 "09cckr5l71ypvfdbvv1qsag4222blixwn9300hpbr831j3vn46z9"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
(("=1\\.0") "^1.0"))))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.3) (("rust-ahash" ,rust-ahash-0.3)
("rust-autocfg" ,rust-autocfg-1)
("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rayon" ,rust-rayon-1) ("rust-rayon" ,rust-rayon-1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)