gnu: rust-hashbrown-0.12: Patch Cargo.toml.
This is a follow-up to commit d7a4ab2cd50d5398d90117d6afcfccca5a158b9b. * gnu/packages/crates-io.scm (rust-hashbrown-0.12)[source]: Add snippet to require the "edition2021" cargo feature to avoid a failure to parse the file.master
parent
333905ccff
commit
7c4546d591
|
@ -26792,7 +26792,14 @@ already-hashed or hash-like data.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la"))))
|
||||
"1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; Without this line users of hashbrown would be unable to
|
||||
;; parse the contents of the Cargo.toml.
|
||||
'(substitute* "Cargo.toml"
|
||||
(("\\[package\\]" m)
|
||||
(string-append "cargo-features = [\"edition2021\"]\n" m))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
|
|
Reference in New Issue