gnu: Add rust-tokio-native-tls-0.3.
* gnu/packages/crates-io.scm (rust-tokio-native-tls-0.3): New variable. (rust-tokio-native-tls-0.1): Inherit from above.
This commit is contained in:
parent
f8e2758ec4
commit
7945e1611f
|
@ -42633,8 +42633,34 @@ (define-public rust-tokio-named-pipes-0.1
|
|||
Tokio.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-tokio-native-tls-0.3
|
||||
(package
|
||||
(name "rust-tokio-native-tls")
|
||||
(version "0.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "tokio-native-tls" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0yvikgmph2qjq0ni2h2wfaxkzhbnc09c2544av0zidyj1dk9bngp"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-native-tls" ,rust-native-tls-0.2)
|
||||
("rust-tokio" ,rust-tokio-1))))
|
||||
(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-native-tls-0.1
|
||||
(package
|
||||
(inherit rust-tokio-native-tls-0.3)
|
||||
(name "rust-tokio-native-tls")
|
||||
(version "0.1.0")
|
||||
(source
|
||||
|
@ -42644,19 +42670,11 @@ (define-public rust-tokio-native-tls-0.1
|
|||
(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)))
|
||||
("rust-tokio" ,rust-tokio-0.2))))))
|
||||
|
||||
(define-public rust-tokio-net-0.2
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue