gnu: rust-chacha20poly1305: Fix build.
* gnu/packages/crates-io: (rust-chacha20poly1305): [arguments]<#:phases>: Add a new 'relax-requirements' phase. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
c079e68f3f
commit
b8c856e215
1 changed files with 14 additions and 1 deletions
|
@ -10284,7 +10284,20 @@ XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional
|
||||||
(base32 "0alawaaakczsll1b98qf4m6r6kfaw28506ljvsysjyjz3mnyv11v"))))
|
(base32 "0alawaaakczsll1b98qf4m6r6kfaw28506ljvsysjyjz3mnyv11v"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'configure 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute*
|
||||||
|
"guix-vendor/rust-chacha20-0.8.1.tar.gz/Cargo.toml"
|
||||||
|
(("version = \">=1, <1.5\"") "version = \"^1\""))
|
||||||
|
(substitute*
|
||||||
|
"guix-vendor/rust-chacha20poly1305-0.9.0.tar.gz/Cargo.toml"
|
||||||
|
(("version = \">=1, <1.5\"") "version = \"^1\""))
|
||||||
|
(substitute*
|
||||||
|
"Cargo.toml"
|
||||||
|
(("version = \">=1, <1.5\"") "version = \"^1\"")))))
|
||||||
|
#:cargo-inputs
|
||||||
(("rust-aead" ,rust-aead-0.4)
|
(("rust-aead" ,rust-aead-0.4)
|
||||||
("rust-chacha20" ,rust-chacha20-0.8)
|
("rust-chacha20" ,rust-chacha20-0.8)
|
||||||
("rust-cipher" ,rust-cipher-0.3)
|
("rust-cipher" ,rust-cipher-0.3)
|
||||||
|
|
Reference in a new issue