aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-21 00:39:03 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:42:06 +0530
commit65cdebd20a2d8af8f667f91321952a9eeb6f9692 (patch)
tree4d90798336b63d2cfba5b449cc8d23c0723d129b /gnu/packages/crates-io.scm
parent77a0536bfd2a6b8009ed21c5eaafbd7226115404 (diff)
downloadguix-65cdebd20a2d8af8f667f91321952a9eeb6f9692.tar
guix-65cdebd20a2d8af8f667f91321952a9eeb6f9692.tar.gz
gnu: Add rust-trust-dns-resolver-0.19.
* gnu/packages/crates-io.scm (rust-trust-dns-resolver-0.19): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm47
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0da0b55f2a..ab095280a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29225,7 +29225,54 @@ extension for the Trust-DNS client to use tokio-openssl for TLS.")
foundational DNS protocol library for all Trust-DNS projects.")
(license (list license:expat license:asl2.0))))
+(define-public rust-trust-dns-resolver-0.19
+ (package
+ (name "rust-trust-dns-resolver")
+ (version "0.19.5")
(source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "trust-dns-resolver" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0xqv31gndybcrr5gi6jjp47qcvdxsc147s69a0y0nc6qqgyws8qg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-ipconfig" ,rust-ipconfig-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-lru-cache" ,rust-lru-cache-0.1)
+ ("rust-resolv-conf" ,rust-resolv-conf-0.6)
+ ("rust-rustls" ,rust-rustls-0.17)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-tokio-openssl" ,rust-tokio-openssl-0.4)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.13)
+ ("rust-tokio-tls" ,rust-tokio-tls-0.3)
+ ("rust-trust-dns-https" ,rust-trust-dns-https-0.19)
+ ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.19)
+ ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.19)
+ ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19)
+ ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.19)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.19))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-futures" ,rust-futures-0.3))))
+ (home-page "http://www.trust-dns.org/index.html")
+ (synopsis "Safe and secure DNS library")
+ (description "Trust-DNS is a safe and secure DNS library. This Resolver
+library uses the Client library to perform all DNS queries. The Resolver is
+intended to be a high-level library for any DNS record resolution see Resolver
+and AsyncResolver for supported resolution types. The Client can be used for
+other queries.")
+ (license (list license:expat license:asl2.0))))
(define-public rust-trust-dns-rustls-0.19
(package