mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add rust-hyper-tls-0.6.
* gnu/packages/crates-web.scm (rust-hyper-tls-0.6): New variable. (rust-hyper-tls-0.5): Inherit from above. Change-Id: I2bf346c71bf4785b287aa91aab91f3575ba42e1c
This commit is contained in:
parent
f5e299be4d
commit
11488c589d
1 changed files with 35 additions and 7 deletions
|
@ -3913,8 +3913,42 @@ (define-public rust-hyper-timeout-0.4
|
||||||
to be used with Hyper client.")
|
to be used with Hyper client.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-hyper-tls-0.6
|
||||||
|
(package
|
||||||
|
(name "rust-hyper-tls")
|
||||||
|
(version "0.6.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "hyper-tls" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1q36x2yps6hhvxq5r7mc8ph9zz6xlb573gx0x3yskb0fi736y83h"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-bytes" ,rust-bytes-1)
|
||||||
|
("rust-http-body-util" ,rust-http-body-util-0.1)
|
||||||
|
("rust-hyper" ,rust-hyper-1)
|
||||||
|
("rust-hyper-util" ,rust-hyper-util-0.1)
|
||||||
|
("rust-native-tls" ,rust-native-tls-0.2)
|
||||||
|
("rust-tokio" ,rust-tokio-1)
|
||||||
|
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
|
||||||
|
("rust-tower-service" ,rust-tower-service-0.3))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-hyper-util" ,rust-hyper-util-0.1)
|
||||||
|
("rust-tokio" ,rust-tokio-1))))
|
||||||
|
(native-inputs (list pkg-config))
|
||||||
|
(inputs (list openssl))
|
||||||
|
(home-page "https://hyper.rs")
|
||||||
|
(synopsis "Default TLS implementation for use with hyper")
|
||||||
|
(description "This package provides the default TLS implementation for use
|
||||||
|
with hyper.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-hyper-tls-0.5
|
(define-public rust-hyper-tls-0.5
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-hyper-tls-0.6)
|
||||||
(name "rust-hyper-tls")
|
(name "rust-hyper-tls")
|
||||||
(version "0.5.0")
|
(version "0.5.0")
|
||||||
(source
|
(source
|
||||||
|
@ -3924,7 +3958,6 @@ (define-public rust-hyper-tls-0.5
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "01crgy13102iagakf6q4mb75dprzr7ps1gj0l5hxm1cvm7gks66n"))))
|
(base32 "01crgy13102iagakf6q4mb75dprzr7ps1gj0l5hxm1cvm7gks66n"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -3932,12 +3965,7 @@ (define-public rust-hyper-tls-0.5
|
||||||
("rust-hyper" ,rust-hyper-0.14)
|
("rust-hyper" ,rust-hyper-0.14)
|
||||||
("rust-native-tls" ,rust-native-tls-0.2)
|
("rust-native-tls" ,rust-native-tls-0.2)
|
||||||
("rust-tokio" ,rust-tokio-1)
|
("rust-tokio" ,rust-tokio-1)
|
||||||
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3))))
|
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3))))))
|
||||||
(home-page "https://hyper.rs")
|
|
||||||
(synopsis "Default TLS implementation for use with hyper")
|
|
||||||
(description "This package provides the default TLS implementation for use
|
|
||||||
with hyper.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-hyper-tls-0.4
|
(define-public rust-hyper-tls-0.4
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue