[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/45: gnu: Add rust-trust-dns-rustls-0.6.
From: |
guix-commits |
Subject: |
32/45: gnu: Add rust-trust-dns-rustls-0.6. |
Date: |
Sun, 22 Nov 2020 12:49:46 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit ca1ad1a00943fb38bbf3a063971d5faf91247f1c
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Wed Jun 17 17:32:40 2020 -0700
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>
---
gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 451c1434..c895f82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30757,6 +30757,45 @@ other queries.")
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")
- 27/45: gnu: Add rust-webpki-0.19., (continued)
- 27/45: gnu: Add rust-webpki-0.19., guix-commits, 2020/11/22
- 28/45: gnu: Add rust-webpki-roots-0.16., guix-commits, 2020/11/22
- 19/45: gnu: Add rust-ring-0.14., guix-commits, 2020/11/22
- 29/45: gnu: Add rust-rustls-0.15., guix-commits, 2020/11/22
- 35/45: gnu: rust-tracing-log-0.1: Update to 0.1.1., guix-commits, 2020/11/22
- 33/45: gnu: Add rust-tracing-log-0.1., guix-commits, 2020/11/22
- 22/45: gnu: Add rust-hyper-old-types-0.11., guix-commits, 2020/11/22
- 26/45: gnu: Add rust-sct-0.5., guix-commits, 2020/11/22
- 31/45: gnu: Add rust-trust-dns-proto-0.7., guix-commits, 2020/11/22
- 34/45: gnu: Add rust-matchers-0.0., guix-commits, 2020/11/22
- 32/45: gnu: Add rust-trust-dns-rustls-0.6.,
guix-commits <=
- 40/45: gnu: Add rust-thrussh-libsodium-0.1., guix-commits, 2020/11/22
- 41/45: build-system/cargo: Set openssl environment variable when available., guix-commits, 2020/11/22
- 44/45: gnu: rust-slog-2.5: Rename to rust-slog-2., guix-commits, 2020/11/22
- 36/45: gnu: Add rust-tracing-subscriber-0.1., guix-commits, 2020/11/22
- 38/45: gnu: Add rust-tokio-net-0.2., guix-commits, 2020/11/22
- 43/45: gnu: rust-slog-2.4: Remove variable., guix-commits, 2020/11/22
- 39/45: gnu: Add rust-shell-escape-0.1., guix-commits, 2020/11/22
- 42/45: build-system/cargo: Set libclang environment variable when available., guix-commits, 2020/11/22
- 37/45: gnu: Add rust-tracing-fmt-0.1., guix-commits, 2020/11/22
- 45/45: build-system/cargo: Set gettext environment variable when available., guix-commits, 2020/11/22