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>
This commit is contained in:
Joseph LaFreniere 2020-11-20 08:26:40 -06:00 committed by Efraim Flashner
parent e1da617a20
commit 3a87b29925
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -11395,6 +11395,39 @@ (define-public rust-hashbrown-0.5
("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")