diff options
author | Picnoir <picnoir@alternativebit.fr> | 2024-05-19 14:46:23 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-06-02 20:52:25 +0200 |
commit | abfef465b2b2353610cbff2caefee679566978f7 (patch) | |
tree | 67bb8ae802731ec770e09ed9f6a510d46fddc57e | |
parent | aed9a0e96e847a97b3309ce768f4ed23fa73b656 (diff) | |
download | guix-abfef465b2b2353610cbff2caefee679566978f7.tar.gz guix-abfef465b2b2353610cbff2caefee679566978f7.zip |
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>
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ecae320792..6b4d8dfac3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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") |