gnu: Add rust-trust-dns-proto-0.20.

* gnu/packages/crates-io.scm (rust-trust-dns-proto-0.20): New variable.
(rust-trust-dns-proto-0.19): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-03-10 16:25:44 +01:00
parent 31be44a8aa
commit 3e6a0f1985
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -44446,8 +44446,54 @@ (define-public rust-trust-dns-openssl-0.6
(("rust-openssl" ,rust-openssl-0.10)
("rust-tokio" ,rust-tokio-0.1))))))
(define-public rust-trust-dns-proto-0.20
(package
(name "rust-trust-dns-proto")
(version "0.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "trust-dns-proto" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gdsxjl628h02dp0fhcjz6js79fc4dxprqgqny6rghk450dki84q"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-async-trait" ,rust-async-trait-0.1)
("rust-backtrace" ,rust-backtrace-0.3)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-data-encoding" ,rust-data-encoding-2)
("rust-enum-as-inner" ,rust-enum-as-inner-0.3)
("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-io" ,rust-futures-io-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-idna" ,rust-idna-0.2)
("rust-ipnet" ,rust-ipnet-2)
("rust-js-sys" ,rust-js-sys-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-openssl" ,rust-openssl-0.10)
("rust-rand" ,rust-rand-0.8)
("rust-ring" ,rust-ring-0.16)
("rust-serde" ,rust-serde-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-socket2" ,rust-socket2-0.3)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1)
("rust-url" ,rust-url-2)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
(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 is the foundational
DNS protocol library for all Trust-DNS projects.")
(license (list license:expat license:asl2.0))))
(define-public rust-trust-dns-proto-0.19
(package
(inherit rust-trust-dns-proto-0.20)
(name "rust-trust-dns-proto")
(version "0.19.5")
(source
@ -44458,7 +44504,6 @@ (define-public rust-trust-dns-proto-0.19
(sha256
(base32
"0a4zlv60kkbg1nvy3zh18fdg681z83yzppzy39rdkm7llqdhdmyd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-async-trait" ,rust-async-trait-0.1)
@ -44483,12 +44528,7 @@ (define-public rust-trust-dns-proto-0.19
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.7)
("rust-futures" ,rust-futures-0.3)
("rust-tokio" ,rust-tokio-0.2))))
(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 is the
foundational DNS protocol library for all Trust-DNS projects.")
(license (list license:expat license:asl2.0))))
("rust-tokio" ,rust-tokio-0.2))))))
(define-public rust-trust-dns-proto-0.18
(package