aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-04-19 23:12:35 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-05 13:20:40 +0200
commitc834cf98066f4e332124172ac6a8a92790e2d5fb (patch)
tree28b86f34f6d4d53ecb62fc16836a71c619b7fbad
parent6001456946ae18a7e616c810c4069449f3092c02 (diff)
downloadpatches-c834cf98066f4e332124172ac6a8a92790e2d5fb.tar
patches-c834cf98066f4e332124172ac6a8a92790e2d5fb.tar.gz
gnu: Add rust-tokio-rustls-0.12.
* gnu/packages/crates-io.scm (rust-tokio-rustls-0.12): New variable.
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 230e1d27a6..3e7d574a5e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24189,6 +24189,37 @@ futures.")
"Event loop that drives Tokio I/O resources.")
(license license:expat)))
+(define-public rust-tokio-rustls-0.12
+ (package
+ (name "rust-tokio-rustls")
+ (version "0.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-rustls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k6rpw4nmgsamh8vbf8xqrf4rr5sqs18i93561bydflajz0gw6hl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; FIXME requires Rust >= 1.39 for building
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-rustls" ,rust-rustls-0.16)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-webpki" ,rust-webpki-0.21))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.18))))
+ (home-page "https://github.com/quininer/tokio-rustls")
+ (synopsis "Asynchronous TLS/SSL streams for Tokio using Rustls")
+ (description "This package provides asynchronous TLS/SSL streams for Tokio
+using Rustls.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-tokio-signal-0.2
(package
(name "rust-tokio-signal")