From 2ff80a952e2115f24ca88d07fdb851216dd29180 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 22 Dec 2020 22:01:12 +0100 Subject: [PATCH] gnu: Add rust-trust-dns-native-tls-0.18. * gnu/packages/crates-io.scm (rust-trust-dns-native-tls-0.18): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7023815800..23e95f18df 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36837,6 +36837,28 @@ (define-public rust-trust-dns-native-tls-0.19 extension for the Trust-DNS client to use native-tls for TLS.") (license (list license:expat license:asl2.0)))) +(define-public rust-trust-dns-native-tls-0.18 + (package + (inherit rust-trust-dns-native-tls-0.19) + (name "rust-trust-dns-native-tls") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rcg018vdd5chd4hcmjp753qjlf4k311nmrxa5ay2hxjllzmqd1y")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #false ;missing files + #:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-tls" ,rust-tokio-tls-0.3) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)))))) + (define-public rust-trust-dns-native-tls-0.6 (package (inherit rust-trust-dns-native-tls-0.19)