efraim pushed a commit to branch rust-team in repository guix. commit dc2bb65c65f52c0c0607ec15ba54e043efcfc6db Author: Efraim Flashner <efr...@flashner.co.il> AuthorDate: Mon Jan 22 21:08:36 2024 +0200
gnu: rust-async-tls-0.10: Downgrade to 0.10.0. Later versions of this crate were yanked by upstream. * gnu/packages/crates-tls.scm (rust-async-tls-0.10): Downgrade to 0.10.0. [arguments]: Don't skip the build. Skip the tests. [cargo-inputs]: Replace rust-rustls-0.19 with 0.18, rust-webpki-roots-0.21 with 0.20. [cargo-development-inputs]: Add rust-async-std-1, rust-futures-executor-0.3, rust-futures-util-0.3, rust-lazy-static-1. Change-Id: Id16de637b32190470b2c106f9356829c7cf65036 --- gnu/packages/crates-tls.scm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index 7ef410d9d7..8b0ab5e311 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -292,23 +292,28 @@ (define-public rust-async-tls-0.10 (package (name "rust-async-tls") - (version "0.10.2") + (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "async-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "126by0la2wvfadazfnmw7b6ch07dk9ggny94a3vvzgk2qdpqn3fx")))) + (base32 "0lnc61fb16wg76hbqh2kjzc4d9kqkh8mz51zzn78gkpcl329fnnq")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; unresolved import `async_std::sync::channel` #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-rustls" ,rust-rustls-0.19) + ("rust-rustls" ,rust-rustls-0.18) ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.20)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1)))) (home-page "https://github.com/async-std/async-tls") (synopsis "Asynchronous TLS/SSL streams using Rustls") (description