me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-dns-lookup-2.

* gnu/packages/crates-io.scm (rust-dns-lookup-2): New variable. Required by
Nsncd.

Change-Id: I66a8488c93cc0c119417270db93733424a791069
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
master
Picnoir 2024-05-19 14:46:23 +02:00 committed by Ludovic Courtès
parent aed9a0e96e
commit abfef465b2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 25 additions and 0 deletions

View File

@ -19942,6 +19942,31 @@ a vector.")
not support network, only raw protocol parser.")
(license (list license:expat license:asl2.0))))
(define-public rust-dns-lookup-2
(package
(name "rust-dns-lookup")
(version "2.0.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "dns-lookup" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
("rust-socket2" ,rust-socket2-0.5)
("rust-windows-sys" ,rust-windows-sys-0.48))))
(home-page "https://github.com/keeperofdakeys/dns-lookup/")
(synopsis "DNS resolution interface")
(description
"This package provides a simple DNS resolving interface, much like Rust's
unstable API. It includes @code{getaddrinfo} and @code{getnameinfo} wrappers
for libc variants.")
(license (list license:expat license:asl2.0))))
(define-public rust-dns-sd-0.1
(package
(name "rust-dns-sd")