diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-08-25 19:25:24 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-09-05 00:12:41 +0200 |
commit | 02cbb76392b5419a2a9eafc79437dc4f9a648a72 (patch) | |
tree | 6494097a17d0efb0e82f8d12b41cfa4fc0554a15 /gnu/packages | |
parent | aeac28750fb7075a05bcf5091f1df6a15328b770 (diff) | |
download | guix-02cbb76392b5419a2a9eafc79437dc4f9a648a72.tar.gz |
gnu: Add rust-hashbrown-0.12.
* gnu/packages/crates-io.scm (rust-hashbrown-0.12): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f3a5906cb6..3b9a8b0817 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26550,6 +26550,40 @@ already-hashed or hash-like data.") @code{#[derive(Hash32)]}.") (license (list license:expat license:asl2.0)))) +(define-public rust-hashbrown-0.12 + (package + (name "rust-hashbrown") + (version "0.12.3") + (source (origin + (method url-fetch) + (uri (crate-uri "hashbrown" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.7) + ("rust-bumpalo" ,rust-bumpalo-3) + ("rust-compiler-builtins" ,rust-compiler-builtins-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-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 SwissTable hash map") + (license (list license:expat license:asl2.0)))) + (define-public rust-hashbrown-0.11 (package (name "rust-hashbrown") |