GNU bug report logs - #53962
[PATCH] gnu: rust-chacha20poly1305: Fix build.

Previous Next

Package: guix-patches;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Sat, 12 Feb 2022 19:25:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Aleksandr Vityazev <avityazev <at> posteo.org>
Subject: bug#53962: closed (Re: [bug#53962] [PATCH] gnu: rust-chacha20poly1305:
 Fix build.)
Date: Mon, 14 Feb 2022 09:56:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#53962: [PATCH] gnu: rust-chacha20poly1305: Fix build.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 53962 <at> debbugs.gnu.org.

-- 
53962: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53962
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Aleksandr Vityazev <avityazev <at> posteo.org>
Cc: 53962-done <at> debbugs.gnu.org
Subject: Re: [bug#53962] [PATCH] gnu: rust-chacha20poly1305: Fix build.
Date: Mon, 14 Feb 2022 10:55:45 +0100
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

[Message part 3 (message/rfc822, inline)]
From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: rust-chacha20poly1305: Fix build.
Date: Sat, 12 Feb 2022 19:24:36 +0000
* 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



This bug report was last modified 3 years and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.