mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
gnu: Add rust-hashbrown-0.14.
* gnu/packages/crates-io.scm (rust-hashbrown-0.14): New variable. (rust-hashbrown-0.13): Inherit from rust-hashbrown-0.14.
This commit is contained in:
parent
7ed354946b
commit
da19d144d0
1 changed files with 45 additions and 7 deletions
|
@ -27845,8 +27845,52 @@ (define-public rust-hash32-derive-0.1
|
||||||
@code{#[derive(Hash32)]}.")
|
@code{#[derive(Hash32)]}.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-hashbrown-0.14
|
||||||
|
(package
|
||||||
|
(name "rust-hashbrown")
|
||||||
|
(version "0.14.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "hashbrown" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0yj3nf0w30pf30w503kgaw4sbjnh62l5cbmc7dd0mnczzywh2qic"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(substitute* "Cargo.toml"
|
||||||
|
(("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _ version)
|
||||||
|
(string-append "^" version)))))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-ahash" ,rust-ahash-0.8)
|
||||||
|
("rust-allocator-api2" ,rust-allocator-api2-0.2)
|
||||||
|
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
||||||
|
("rust-rayon" ,rust-rayon-1)
|
||||||
|
("rust-rkyv" ,rust-rkyv-0.7)
|
||||||
|
("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-bumpalo" ,rust-bumpalo-3)
|
||||||
|
("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-rkyv" ,rust-rkyv-0.7)
|
||||||
|
("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.13
|
(define-public rust-hashbrown-0.13
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-hashbrown-0.14)
|
||||||
(name "rust-hashbrown")
|
(name "rust-hashbrown")
|
||||||
(version "0.13.2")
|
(version "0.13.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -27856,7 +27900,6 @@ (define-public rust-hashbrown-0.13
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"03ji3n19j4b6mf2wlla81vsixcmlivglp6hgk79d1pcxfcrw38s3"))))
|
"03ji3n19j4b6mf2wlla81vsixcmlivglp6hgk79d1pcxfcrw38s3"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-ahash" ,rust-ahash-0.8)
|
(("rust-ahash" ,rust-ahash-0.8)
|
||||||
|
@ -27872,12 +27915,7 @@ (define-public rust-hashbrown-0.13
|
||||||
("rust-lazy-static" ,rust-lazy-static-1)
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
("rust-rand" ,rust-rand-0.8)
|
("rust-rand" ,rust-rand-0.8)
|
||||||
("rust-rayon" ,rust-rayon-1)
|
("rust-rayon" ,rust-rayon-1)
|
||||||
("rust-serde-test" ,rust-serde-test-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.12
|
(define-public rust-hashbrown-0.12
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue