[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
146/475: gnu: rust-reqwest-0.11: Fix build.
From: |
guix-commits |
Subject: |
146/475: gnu: rust-reqwest-0.11: Fix build. |
Date: |
Sun, 7 May 2023 12:46:44 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 5f3febe91f6356fce0edc4cfe9ebb5d55a4206c8
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 6b5d8f0d3f..0d07528653 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48634,7 +48634,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)
@@ -48648,7 +48654,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)
@@ -48689,6 +48695,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.")
- 220/475: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.34., (continued)
- 220/475: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.34., guix-commits, 2023/05/07
- 65/475: gnu: rust-snapbox-0.4: Update to 0.4.7., guix-commits, 2023/05/07
- 68/475: gnu: rust-time-0.3: Update to 0.3.19., guix-commits, 2023/05/07
- 70/475: gnu: Add rust-tokio-rustls-0.23., guix-commits, 2023/05/07
- 82/475: gnu: Add rust-zeroize-1.4., guix-commits, 2023/05/07
- 97/475: gnu: Add rust-rcgen-0.8., guix-commits, 2023/05/07
- 102/475: gnu: Add rust-magma-0.8., guix-commits, 2023/05/07
- 120/475: gnu: rust-threadpool-1: Update to 1.8.1., guix-commits, 2023/05/07
- 128/475: gnu: rust-windows-x86-64-gnullvm-0.42: Update to 0.42.1., guix-commits, 2023/05/07
- 135/475: gnu: rust-getrandom-0.2: Update to 0.2.8., guix-commits, 2023/05/07
- 146/475: gnu: rust-reqwest-0.11: Fix build.,
guix-commits <=
- 145/475: gnu: rust-trust-dns-resolver-0.22: Don't skip build., guix-commits, 2023/05/07
- 144/475: gnu: Add rust-zip-0.6., guix-commits, 2023/05/07
- 158/475: gnu: Remove rust-try-lock-0.1., guix-commits, 2023/05/07
- 161/475: gnu: Remove rust-target-lexicon-0.10., guix-commits, 2023/05/07
- 164/475: gnu: Remove rust-rustc-hex-1., guix-commits, 2023/05/07
- 165/475: gnu: Remove rust-relay-0.1., guix-commits, 2023/05/07
- 175/475: gnu: Remove rust-gettext-sys-0.19., guix-commits, 2023/05/07
- 172/475: gnu: Remove rust-ntest-0.3., guix-commits, 2023/05/07
- 180/475: gnu: Remove rust-askama-0.10., guix-commits, 2023/05/07
- 187/475: gnu: Add rust-ravif-0.8., guix-commits, 2023/05/07