summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-19 20:15:34 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 23:02:49 +0100
commitb929af8a207143c81294232ba7efffe9bd515e7c (patch)
tree5b0dcc024a7e1e867324a61ed0187407f1a4cbff /gnu
parent33ebe9faca851048f32b20dbd6ec2bad981ff42a (diff)
gnu: Add rust-tokio-rustls-0.10.
* gnu/packages/crates-io.scm (rust-tokio-rustls-0.10): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10c4422f88..a9df95c866 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32296,6 +32296,31 @@ using Rustls.")
("rust-webpki-roots" ,rust-webpki-roots-0.18))))
(license (list license:expat license:asl2.0))))
+(define-public rust-tokio-rustls-0.10
+ (package
+ (inherit rust-tokio-rustls-0.12)
+ (name "rust-tokio-rustls")
+ (version "0.10.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-rustls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xh6gxilm7waj55rxfgqmvl8abynzr3ang57qvbap400k67z0z1d"))))
+ (arguments
+ `(#:cargo-test-flags '("--release" "--" "--skip=test_badssl")
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-iovec" ,rust-iovec-0.1)
+ ("rust-rustls" ,rust-rustls-0.16)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-webpki" ,rust-webpki-0.21))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-0.1)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.17))))))
+
(define-public rust-tokio-rustls-0.9
(package
(inherit rust-tokio-rustls-0.12)