GNU bug report logs - #75980
[PATCH rust-team 000/106] Add cargo-development-inputs.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Fri, 31 Jan 2025 21:06:01 UTC

Severity: normal

Tags: patch

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 75980 <at> debbugs.gnu.org (full text, mbox):

From: Herman Rimm <herman <at> rimm.ee>
To: 75980 <at> debbugs.gnu.org
Subject: [PATCH rust-team 015/106] gnu: rust-awc-1: Add
 cargo-development-inputs.
Date: Fri, 31 Jan 2025 22:09:36 +0100
* gnu/packages/crates-web.scm (rust-awc-1): Build without tests.  Add
rust-actix-connect-1, rust-actix-http-1, rust-actix-server-1,
rust-actix-tls-1, rust-actix-utils-1, rust-env-logger-0.6,
rust-flate2-1, rust-futures-0.3, rust-webpki-0.21.

Change-Id: Id7bd48a1608456fee91229aec97b66f2db61d03b
---
 gnu/packages/crates-web.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 98a1669d923..df3a6c143c2 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2138,10 +2138,9 @@ (define-public rust-awc-1
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1idacmq7n3irmdjkbxc5kdwspxk9w1gip94pcmfk7wky3m6isq6p"))))
-    ;; XXX: The crate fails to't build with with the same error as
-    ;; rust-actix-connect.  Skip build for now.
     (arguments
-     `(#:skip-build? #true
+     ;; The actix-web crate used may be too recent.
+     `(#:tests? #f
        #:cargo-inputs
        (("rust-actix-codec" ,rust-actix-codec-0.2)
         ("rust-actix-http" ,rust-actix-http-1)
@@ -2161,9 +2160,18 @@ (define-public rust-awc-1
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6))
        #:cargo-development-inputs
-       (("rust-actix-http-test" ,rust-actix-http-test-1)
+       (("rust-actix-connect" ,rust-actix-connect-1)
+        ("rust-actix-http" ,rust-actix-http-1)
+        ("rust-actix-http-test" ,rust-actix-http-test-1)
+        ("rust-actix-server" ,rust-actix-server-1)
+        ("rust-actix-tls" ,rust-actix-tls-1)
+        ("rust-actix-utils" ,rust-actix-utils-1)
         ("rust-actix-web" ,rust-actix-web-2)
-        ("rust-brotli" ,rust-brotli-3))))))
+        ("rust-brotli" ,rust-brotli-3)
+        ("rust-env-logger" ,rust-env-logger-0.6)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-webpki" ,rust-webpki-0.21))))))
 
 (define-public rust-awc-0.2
   (package
-- 
2.47.1





This bug report was last modified 68 days ago.

Previous Next


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