mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 21:49:34 -05:00
gnu: rav1e: Patch Cargo.toml.
* gnu/packages/video.scm (rav1e)[source]: Patch Cargo.toml to enable feature needed to parse the file.
This commit is contained in:
parent
7c4546d591
commit
f454a2781b
1 changed files with 6 additions and 1 deletions
|
@ -5209,7 +5209,12 @@ (define-public rav1e
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn"))))
|
"006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(substitute* "Cargo.toml"
|
||||||
|
(("\\[package\\]" m)
|
||||||
|
(string-append "cargo-features = [\"rust-version\"]\n" m))))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; Strip the '--release' flag to work around the doctest failures with
|
`(;; Strip the '--release' flag to work around the doctest failures with
|
||||||
|
|
Loading…
Reference in a new issue