summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-22 22:01:12 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:37 +0100
commit2ff80a952e2115f24ca88d07fdb851216dd29180 (patch)
treefeb1399d76a8ca876fde0ecf3d87f892dae19945
parent98c4ebe53213d69192f8b2ec1fc9d7125f0062c1 (diff)
downloadguix-2ff80a952e2115f24ca88d07fdb851216dd29180.tar.gz
gnu: Add rust-trust-dns-native-tls-0.18.
* gnu/packages/crates-io.scm (rust-trust-dns-native-tls-0.18): New variable.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
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 @@ extension for the Trust-DNS client to use DNS over HTTPS.")
 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)