gnu: Add rust-hashbrown-0.9.

* gnu/packages/crates-io.scm (rust-hashbrown-0.9): New variable, skipping
  build.  (rust-hashbrown-0.8): Inherit from rust-hashbrown-0.9.
This commit is contained in:
Hartmut Goebel 2020-10-18 01:17:17 +02:00
parent 472a74bf6f
commit 8076a18e32
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -11131,10 +11131,10 @@ (define-public rust-hash32-derive-0.1
@code{#[derive(Hash32)]}.")
(license (list license:expat license:asl2.0))))
(define-public rust-hashbrown-0.8
(define-public rust-hashbrown-0.9
(package
(name "rust-hashbrown")
(version "0.8.0")
(version "0.9.1")
(source
(origin
(method url-fetch)
@ -11142,11 +11142,12 @@ (define-public rust-hashbrown-0.8
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"09y86zmf59n6ys9yf2bvg9ckwwa1ijv2i3flkz45iqkwfmh7i6xb"))))
"016dsm9s4xmxlkw2jfikm54qlz6vyk0qr280gab7kzp342jf9byp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.3)
`(#:skip-build? #t
#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.4)
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rayon" ,rust-rayon-1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
@ -11165,6 +11166,35 @@ (define-public rust-hashbrown-0.8
hash map.")
(license (list license:asl2.0 license:expat))))
(define-public rust-hashbrown-0.8
(package
(inherit rust-hashbrown-0.9)
(name "rust-hashbrown")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hashbrown" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "09y86zmf59n6ys9yf2bvg9ckwwa1ijv2i3flkz45iqkwfmh7i6xb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.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-lazy-static" ,rust-lazy-static-1)
("rust-rand" ,rust-rand-0.7)
("rust-rayon" ,rust-rayon-1)
("rust-rustc-hash" ,rust-rustc-hash-1.0)
("rust-serde-test" ,rust-serde-test-1))))))
(define-public rust-hashbrown-0.5
(package
(inherit rust-hashbrown-0.8)