From 35cac21b5de68fa16c5f3cf5124faf7874c2ce23 Mon Sep 17 00:00:00 2001 From: VÖRÖSKŐI András Date: Sat, 11 Nov 2023 16:35:31 +0100 Subject: gnu: Add rust-tokio-rustls-0.24. * gnu/packages/crates-io.scm (rust-tokio-rustls-0.24): New variable. (rust-tokio-rustls-0.23): Inherit from rust-tokio-rustls-0.24. Change-Id: I633f7208f17d4d8c1abe79ff843d345335d54f26 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 47 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ee33e479a0..db31d10e56 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -81256,31 +81256,31 @@ futures.") "Event loop that drives Tokio I/O resources.") (license license:expat))) -(define-public rust-tokio-rustls-0.23 +(define-public rust-tokio-rustls-0.24 (package (name "rust-tokio-rustls") - (version "0.23.4") + (version "0.24.1") (source (origin (method url-fetch) (uri (crate-uri "tokio-rustls" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nfsmmi8l1lgpbfy6079d5i13984djzcxrdr9jc06ghi0cwyhgn4")))) + (base32 "10bhibg57mqir7xjhb2xmf24xgfpx6fzpyw720a4ih8a737jg0y2")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Issue with the certificate test dates. #:cargo-inputs - (("rust-rustls" ,rust-rustls-0.20) - ("rust-tokio" ,rust-tokio-1) - ("rust-webpki" ,rust-webpki-0.22)) + (("rust-rustls" ,rust-rustls-0.21) + ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs - (("rust-futures-util" ,rust-futures-util-0.3) + (("rust-argh" ,rust-argh-0.1) + ("rust-futures-util" ,rust-futures-util-0.3) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.100) ("rust-tokio" ,rust-tokio-1) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.23)))) (native-inputs (list perl)) (home-page "https://github.com/tokio-rs/tls") @@ -81290,6 +81290,31 @@ futures.") Rustls.") (license (list license:expat license:asl2.0)))) +(define-public rust-tokio-rustls-0.23 + (package + (inherit rust-tokio-rustls-0.24) + (name "rust-tokio-rustls") + (version "0.23.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nfsmmi8l1lgpbfy6079d5i13984djzcxrdr9jc06ghi0cwyhgn4")))) + (arguments + `(#:tests? #f ; Issue with the certificate test dates. + #:cargo-inputs + (("rust-rustls" ,rust-rustls-0.20) + ("rust-tokio" ,rust-tokio-1) + ("rust-webpki" ,rust-webpki-0.22)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)))))) + (define-public rust-tokio-rustls-0.22 (package (inherit rust-tokio-rustls-0.23) -- cgit v1.2.3