mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add rust-hashbrown-0.15.
* gnu/packages/crates-io.scm (rust-hashbrown-0.15): New variable. (rust-hashbrown-0.14): Inherit from rust-hashbrown-0.15. Change-Id: I10e8b66665805399e11d8cec297905b6d5400c48
This commit is contained in:
parent
5ffbcaed3e
commit
457cbfccae
1 changed files with 37 additions and 7 deletions
|
@ -32808,8 +32808,44 @@ (define-public rust-hashbag-0.1
|
|||
"This crate implements an unordered multiset implementation using a hash bag.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-hashbrown-0.15
|
||||
(package
|
||||
(name "rust-hashbrown")
|
||||
(version "0.15.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "hashbrown" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1czsvasi3azv2079fcvbhvpisa16w6fi1mfk8zm2c5wbyqdgr6rs"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-allocator-api2" ,rust-allocator-api2-0.2)
|
||||
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
||||
("rust-equivalent" ,rust-equivalent-1)
|
||||
("rust-foldhash" ,rust-foldhash-0.1)
|
||||
("rust-rayon" ,rust-rayon-1)
|
||||
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
|
||||
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
|
||||
("rust-serde" ,rust-serde-1))
|
||||
#:cargo-development-inputs (("rust-bumpalo" ,rust-bumpalo-3)
|
||||
("rust-doc-comment" ,rust-doc-comment-0.3)
|
||||
("rust-fnv" ,rust-fnv-1)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-rayon" ,rust-rayon-1)
|
||||
("rust-serde-test" ,rust-serde-test-1))))
|
||||
(home-page "https://github.com/rust-lang/hashbrown")
|
||||
(synopsis "Rust port of Google's SwissTable hash map")
|
||||
(description
|
||||
"This package provides a Rust port of Google's @code{SwissTable} hash map.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-hashbrown-0.14
|
||||
(package
|
||||
(inherit rust-hashbrown-0.15)
|
||||
(name "rust-hashbrown")
|
||||
(version "0.14.3")
|
||||
(source (origin
|
||||
|
@ -32825,7 +32861,6 @@ (define-public rust-hashbrown-0.14
|
|||
(substitute* "Cargo.toml"
|
||||
(("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _ version)
|
||||
(string-append "^" version)))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-ahash" ,rust-ahash-0.8)
|
||||
|
@ -32845,12 +32880,7 @@ (define-public rust-hashbrown-0.14
|
|||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-rayon" ,rust-rayon-1)
|
||||
("rust-rkyv" ,rust-rkyv-0.7)
|
||||
("rust-serde-test" ,rust-serde-test-1))))
|
||||
(home-page "https://github.com/rust-lang/hashbrown")
|
||||
(synopsis "Rust port of Google's SwissTable hash map")
|
||||
(description
|
||||
"This package provides a Rust port of Google's SwissTable hash map.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-serde-test" ,rust-serde-test-1))))))
|
||||
|
||||
(define-public rust-hashbrown-0.13
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue