[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
297/470: gnu: rust-reqwest-0.11: Fix build.
From: |
guix-commits |
Subject: |
297/470: gnu: rust-reqwest-0.11: Fix build. |
Date: |
Thu, 16 Mar 2023 03:01:39 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 84cd3c0b8e944dad6ef81739956d70a85f0a1d7d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:52:37 2023 +0200
gnu: rust-reqwest-0.11: Fix build.
* gnu/packages/crates-io.scm (rust-reqwest-0.11)[arguments]: Don't skip
build. Add cargo-test-flags to skip only some tests.
[cargo-inputs]: Replace rust-hyper-rustls-0.22 with 0.23.
[inputs]: Add openssl.
[native-inputs]: Add pkg-config.
---
gnu/packages/crates-io.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fdaea4357b..16e7e67570 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48452,7 +48452,13 @@ uses finite automata and guarantees linear time
matching on all inputs.")
(base32 "1s8yv7r76af4aqf55ckn7ndfr8ba427wybkp7gam42apr07dkvi1"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; These tests go to the network
+ "--skip=test_badssl_modern"
+ "--skip=test_badssl_self_signed"
+ "--skip=connect_timeout"
+ "--skip=test_allowed_methods")
#:cargo-inputs
(("rust-async-compression" ,rust-async-compression-0.3)
("rust-base64" ,rust-base64-0.21)
@@ -48466,7 +48472,7 @@ uses finite automata and guarantees linear time
matching on all inputs.")
("rust-http" ,rust-http-0.2)
("rust-http-body" ,rust-http-body-0.4)
("rust-hyper" ,rust-hyper-0.14)
- ("rust-hyper-rustls" ,rust-hyper-rustls-0.22)
+ ("rust-hyper-rustls" ,rust-hyper-rustls-0.23)
("rust-hyper-tls" ,rust-hyper-tls-0.5)
("rust-ipnet" ,rust-ipnet-2)
("rust-js-sys" ,rust-js-sys-0.3)
@@ -48507,6 +48513,10 @@ uses finite automata and guarantees linear time
matching on all inputs.")
("rust-tokio" ,rust-tokio-1)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (inputs
+ (list openssl))
+ (native-inputs
+ (list pkg-config))
(home-page "https://github.com/seanmonstar/reqwest")
(synopsis "High level HTTP client library")
(description "This package provides a high level HTTP client library.")
- 443/470: gnu: rust-ring-0.16: Remove pregenerated files., (continued)
- 443/470: gnu: rust-ring-0.16: Remove pregenerated files., guix-commits, 2023/03/16
- 445/470: gnu: rust-ring-0.13: Remove pregenerated files., guix-commits, 2023/03/16
- 461/470: gnu: rust-pyo3-macros-backend-0.15: Update to 0.15.2., guix-commits, 2023/03/16
- 463/470: gnu: rust-pyo3-0.15: Update to 0.15.2., guix-commits, 2023/03/16
- 83/470: gnu: rust-dota-short-0.3: Update to 0.3.3., guix-commits, 2023/03/16
- 207/470: gnu: rust-time-macros-0.2: Update to 0.2.7., guix-commits, 2023/03/16
- 208/470: gnu: Add rust-tokio-rustls-0.23., guix-commits, 2023/03/16
- 215/470: gnu: Add rust-trust-dns-resolver-0.22., guix-commits, 2023/03/16
- 239/470: gnu: Add rust-prettyplease-0.1., guix-commits, 2023/03/16
- 253/470: gnu: Add rust-botan-0.8., guix-commits, 2023/03/16
- 297/470: gnu: rust-reqwest-0.11: Fix build.,
guix-commits <=
- 322/470: gnu: Remove rust-object-0.23., guix-commits, 2023/03/16
- 360/470: gnu: rust-num-cpus-1: Update to 1.15.0., guix-commits, 2023/03/16
- 229/470: gnu: Add rust-toml-test-0.3., guix-commits, 2023/03/16
- 230/470: gnu: Add rust-toml-edit-0.18., guix-commits, 2023/03/16
- 259/470: gnu: rust-futures-0.3: Update to 0.3.26., guix-commits, 2023/03/16
- 237/470: gnu: Add rust-rcgen-0.8., guix-commits, 2023/03/16
- 304/470: gnu: Add rust-proptest-derive-0.3., guix-commits, 2023/03/16
- 335/470: gnu: rust-imgref-1: Update to 1.9.4., guix-commits, 2023/03/16
- 338/470: gnu: Add rust-ravif-0.8., guix-commits, 2023/03/16
- 424/470: gnu: Add rust-nu-ansi-term-0.46., guix-commits, 2023/03/16