gnu: Add perl-net-dns-native.

* gnu/packages/perl.scm (perl-net-dns-native): New public variable.
This commit is contained in:
Tobias Geerinckx-Rice 2017-12-23 17:09:49 +01:00
parent 2a222b7a22
commit b596306cd4
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 23 additions and 0 deletions

View File

@ -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.") name, but they won't show up as methods on your class or instances.")
(license (package-license perl)))) (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 (define-public perl-net-idn-encode
(package (package
(name "perl-net-idn-encode") (name "perl-net-idn-encode")