From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Add perl-net-dns. Date: Tue, 26 Jul 2016 22:32:04 +0200 Message-ID: <20160726223204.4c36fcd2@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS91U-0002TH-7x for guix-devel@gnu.org; Tue, 26 Jul 2016 16:32:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS91O-0000aR-HR for guix-devel@gnu.org; Tue, 26 Jul 2016 16:32:15 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:58757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS91O-0000a6-Bj for guix-devel@gnu.org; Tue, 26 Jul 2016 16:32:10 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Danny Milosavljevic * gnu/packages/networking.scm (perl-net-dns): New variable. --- gnu/packages/networking.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 9e4f7bb..a271543 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -29,6 +29,7 @@ #:use-module (guix download) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) + #:use-module (guix build-system perl) #:use-module (gnu packages admin) #:use-module (gnu packages adns) #:use-module (gnu packages audio) @@ -375,3 +376,26 @@ sniffer}, that lets you capture and interactively browse the contents of network frames.") (license license:gpl2+) (home-page "https://www.wireshark.org/"))) + +(define-public perl-net-dns + (package + (name "perl-net-dns") + (version "1.06") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NL/NLNETLABS/Net-DNS-" + version + ".tar.gz")) + (sha256 + (base32 + "07m5331132h9xkh1i6jv9d80f571yva27iqa31aq4sm31iw7nn53")))) + (build-system perl-build-system) + (inputs + `(("perl-digest-hmac" ,perl-digest-hmac))) + (home-page "http://search.cpan.org/dist/Net-DNS") + (synopsis + "Perl Interface to the Domain Name System") + (description "Net::DNS is the Perl Interface to the Domain Name System.") + (license license:x11)))