guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/15: gnu: Add perl-net-dns-native.


From: Tobias Geerinckx-Rice
Subject: 02/15: gnu: Add perl-net-dns-native.
Date: Sat, 23 Dec 2017 17:58:41 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit b596306cd4939fbb5106f35d2c1319c58106cc72
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Dec 23 17:09:49 2017 +0100

    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(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 7ff5554..47fff55 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]