gnu: Add rust-hyper-tls-0.3.

* gnu/packages/crates-io.scm (rust-hyper-tls-0.3): New variable.
This commit is contained in:
Hartmut Goebel 2020-04-20 22:25:56 +02:00
parent c199ef6503
commit 1a02238711
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -10017,6 +10017,36 @@ (define-public rust-hyper-0.12
(description "This package provides a fast and correct HTTP library.")
(license license:expat)) )
(define-public rust-hyper-tls-0.3
(package
(name "rust-hyper-tls")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "hyper-tls" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0kqp4sz8613j6nv375wfj3gh95ff4nb6a3rb1f2vbx0almm0v01s"))))
(build-system cargo-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("openssl" ,openssl)))
(arguments
`(#:cargo-inputs
(("rust-bytes" ,rust-bytes-0.4)
("rust-futures" ,rust-futures-0.1)
("rust-hyper" ,rust-hyper-0.12)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-tokio-io" ,rust-tokio-io-0.1))
#:cargo-development-inputs
(("rust-tokio" ,rust-tokio-0.1))))
(home-page "https://hyper.rs")
(synopsis "Default TLS implementation for use with hyper")
(description "Default TLS implementation for use with hyper")
(license (list license:expat license:asl2.0))))
(define-public rust-idna-0.2
(package
(name "rust-idna")