From b596306cd4939fbb5106f35d2c1319c58106cc72 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 23 Dec 2017 17:09:49 +0100 Subject: gnu: Add perl-net-dns-native. * gnu/packages/perl.scm (perl-net-dns-native): New public variable. --- gnu/packages/perl.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7ff55546c6..47fff558fb 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5948,6 +5948,29 @@ cycle. Functions called in the package itself will still be bound by their name, but they won't show up as methods on your class or instances.") (license (package-license perl)))) +(define-public perl-net-dns-native + (package + (name "perl-net-dns-native") + (version "0.15") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/O/OL/OLEG/Net-DNS-Native-" + version ".tar.gz")) + (sha256 + (base32 "12bsv5jkic3q4arpzk6dda35didkn445v658j87rmi540dpnac85")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Net-DNS-Native/") + (synopsis "Non-blocking system DNS resolver") + (description + "This class provides several methods for host name resolution. It is +designed to be used with event loops. Names are resolved by your system's +native @code{getaddrinfo(3)} implementation, called in a separate thread to +avoid blocking the entire application. Threading overhead is limited by using +system threads instead of Perl threads.") + (license perl-license))) + (define-public perl-net-idn-encode (package (name "perl-net-idn-encode") -- cgit v1.2.3