mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add rust-trust-dns-rustls-0.6.
* gnu/packages/crates-io.scm (rust-trust-dns-rustls-0.6): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
f9dabca28a
commit
ca1ad1a009
1 changed files with 39 additions and 0 deletions
|
@ -30757,6 +30757,45 @@ (define-public rust-trust-dns-rustls-0.19
|
|||
extension for the Trust-DNS client to use rustls for TLS.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-trust-dns-rustls-0.6
|
||||
(package
|
||||
(inherit rust-trust-dns-rustls-0.19)
|
||||
(name "rust-trust-dns-rustls")
|
||||
(version "0.6.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "trust-dns-rustls" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0vbh2y7w2s5gcw33fn4hb5f927kgjm6603vw63slg9riikmsiq43"))))
|
||||
(native-inputs
|
||||
`(("openssl" ,openssl)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--" "--skip=tests::test_tls_client_stream_ipv4")
|
||||
#:cargo-inputs
|
||||
(("rust-futures" ,rust-futures-0.1)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-rustls" ,rust-rustls-0.15)
|
||||
("rust-tokio-rustls" ,rust-tokio-rustls-0.9)
|
||||
("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
|
||||
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)
|
||||
("rust-webpki" ,rust-webpki-0.19))
|
||||
#:cargo-development-inputs
|
||||
(("rust-openssl" ,rust-openssl-0.10)
|
||||
("rust-tokio" ,rust-tokio-0.1))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'find-openssl
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((openssl (assoc-ref inputs "openssl")))
|
||||
(setenv "OPENSSL_DIR" openssl))
|
||||
#t)))))))
|
||||
|
||||
(define-public rust-try-from-0.3
|
||||
(package
|
||||
(name "rust-try-from")
|
||||
|
|
Loading…
Reference in a new issue