diff options
author | Joseph LaFreniere <joseph@lafreniere.xyz> | 2020-11-20 08:26:40 -0600 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-12 22:58:15 +0200 |
commit | 3a87b299257cda788e4955575d6ed829390e1764 (patch) | |
tree | 8d871a66335e97f872dac911c03b190ade54c236 /gnu | |
parent | e1da617a2037fd3eae073f1e0b8c28d8f8a49469 (diff) | |
download | guix-3a87b299257cda788e4955575d6ed829390e1764.tar.gz |
gnu: Add rust-hashbrown-0.1.
* gnu/packages/crates-io.scm (rust-hashbrown-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a0c31be751..933337ec3a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11395,6 +11395,39 @@ hash map.") ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-serde-test" ,rust-serde-test-1)))))) +(define-public rust-hashbrown-0.1 + (package + (inherit rust-hashbrown-0.5) + (name "rust-hashbrown") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "hashbrown" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1np350nrzysy021ndn2135q5vpzrp5nli78ywz114d1vcnv2kbiv")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("~1.2") "1.2")) + #t)))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-scopeguard" ,rust-scopeguard-0.3) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.5) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-serde-test" ,rust-serde-test-1)))))) + (define-public rust-hashlink-0.6 (package (name "rust-hashlink") |