GNU bug report logs -
#53962
[PATCH] gnu: rust-chacha20poly1305: Fix build.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53962 in the body.
You can then email your comments to 53962 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#53962
; Package
guix-patches
.
(Sat, 12 Feb 2022 19:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Aleksandr Vityazev <avityazev <at> posteo.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 12 Feb 2022 19:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io: (rust-chacha20poly1305):
[arguments]<#:phases>: Add a new 'relax-requirements' phase.
---
gnu/packages/crates-io.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa9a7d9ab5..d21fb240a8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10284,7 +10284,20 @@ (define-public rust-chacha20poly1305-0.9
(base32 "0alawaaakczsll1b98qf4m6r6kfaw28506ljvsysjyjz3mnyv11v"))))
(build-system cargo-build-system)
(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-chacha20" ,rust-chacha20-0.8)
("rust-cipher" ,rust-cipher-0.3)
--
2.34.0
--
Aleksandr Vityazev
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Mon, 14 Feb 2022 09:56:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Aleksandr Vityazev <avityazev <at> posteo.org>
:
bug acknowledged by developer.
(Mon, 14 Feb 2022 09:56:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 53962-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Aleksandr Vityazev <avityazev <at> posteo.org> writes:
> * gnu/packages/crates-io: (rust-chacha20poly1305):
> [arguments]<#:phases>: Add a new 'relax-requirements' phase.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 14 Mar 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.