gnu: Add rust-hashbrown-0.5.

* gnu/packages/crates-io.scm (rust-hashbrown-0.5): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2020-01-15 20:08:32 -08:00 committed by Efraim Flashner
parent c0e73f92ba
commit 5e5ca33cd9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4425,6 +4425,40 @@ (define-public rust-handlebars-2.0
the template engine that renders the official Rust website")
(license license:expat)))
(define-public rust-hashbrown-0.5
(package
(name "rust-hashbrown")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hashbrown" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0lr3gsicplw7czapsscmii87hgzpvxf5ch92v7pi95xsipxl3pp1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rayon" ,rust-rayon-1.1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1.0)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)
("rust-serde" ,rust-serde-1.0))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1.3)
("rust-rand" ,rust-rand-0.5)
("rust-rayon" ,rust-rayon-1.1)
("rust-rustc-hash" ,rust-rustc-hash-1.0)
("rust-serde-test" ,rust-serde-test-1.0))))
(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:asl2.0 license:expat))))
(define-public rust-heapsize-0.4
(package
(name "rust-heapsize")