diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-09 23:48:41 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:49:58 +0100 |
commit | d0e779ab50cf096fa32abb8e2871428446e2845c (patch) | |
tree | e77d6daac5eced009c80eadebc7fa971934fea1f /gnu | |
parent | ab89fe581e6c0967ea06149284d4603ca54eb7cf (diff) | |
download | guix-d0e779ab50cf096fa32abb8e2871428446e2845c.tar.gz |
gnu: Add rust-tokio-native-tls-0.1.
* gnu/packages/crates-io.scm (rust-tokio-native-tls-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6a970bebb6..a9997c65ff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38969,6 +38969,31 @@ applications backed by buffers.") Tokio.") (license (list license:expat license:asl2.0)))) +(define-public rust-tokio-native-tls-0.1 + (package + (name "rust-tokio-native-tls") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sd0xmj7kwizybpsg8vh7a6sixj0bs4dzihzgmdf1a0rm69qaq6d")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-0.2)))) + (home-page "https://tokio.rs") + (synopsis "TLS/SSL streams for Tokio") + (description + "This package provides an implementation of TLS/SSL streams for Tokio +using native-tls giving an implementation of TLS for nonblocking I/O +streams.") + (license license:expat))) + (define-public rust-tokio-net-0.2 (package (name "rust-tokio-net") |