aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-11 23:09:01 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-12 16:09:36 +0100
commit10a1ab0d26216a877aae3b3f625092a873c8f970 (patch)
tree38ccd8314aeeabdde1fd4a7045e1419e69f98dc1
parent6fe6ab50bdd0d3306c2d22a6e7acfe92d7aea95f (diff)
downloadguix-10a1ab0d26216a877aae3b3f625092a873c8f970.tar
guix-10a1ab0d26216a877aae3b3f625092a873c8f970.tar.gz
gnu: Add rust-async-tls-0.10.
* gnu/packages/crates-io.scm (rust-async-tls-0.10): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 540159abe7..9d55aa9671 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3251,6 +3251,32 @@ crate.")
(("rust-crossbeam" ,rust-crossbeam-0.7)
("rust-futures" ,rust-futures-0.3))))))
+(define-public rust-async-tls-0.10
+ (package
+ (name "rust-async-tls")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-tls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "126by0la2wvfadazfnmw7b6ch07dk9ggny94a3vvzgk2qdpqn3fx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #: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-webpki" ,rust-webpki-0.21)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.21))))
+ (home-page "https://github.com/async-std/async-tls")
+ (synopsis "Asynchronous TLS/SSL streams using Rustls")
+ (description
+ "This package provides asynchronous TLS/SSL streams using Rustls.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-async-trait-0.1
(package
(name "rust-async-trait")