From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v3 04/16] gnu: Add perl-net-dns-resolver-programmable. Date: Thu, 28 Jul 2016 13:04:40 +0200 Message-ID: <20160728130440.3d0dbb0e@scratchpost.org> References: <20160728130126.12fda106@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]:44438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSj7N-0000Pw-Uc for guix-devel@gnu.org; Thu, 28 Jul 2016 07:04:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSj7M-0005GL-U8 for guix-devel@gnu.org; Thu, 28 Jul 2016 07:04:45 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:54566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSj7M-0005GB-My for guix-devel@gnu.org; Thu, 28 Jul 2016 07:04:44 -0400 Received: from localhost (178.112.81.47.wireless.dyn.drei.com [178.112.81.47]) by dd1012.kasserver.com (Postfix) with ESMTPSA id F14731CA06E3 for ; Thu, 28 Jul 2016 13:04:43 +0200 (CEST) In-Reply-To: <20160728130126.12fda106@scratchpost.org> 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 gnu: Add perl-net-dns-resolver-programmable. * gnu/packages/networking.scm (perl-net-dns-resolver-programmable): New variable. --- gnu/packages/networking.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index a6318b2..a69ef0e 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -469,3 +469,36 @@ application stack itself.") (description "Socket6 binds the IPv6 related part of the C socket header definitions and structure manipulators for Perl.") (license license:bsd-3))) + +(define-public perl-net-dns-resolver-programmable + (package + (name "perl-net-dns-resolver-programmable") + (version "v0.003") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/" + "Net-DNS-Resolver-Programmable-" version ".tar.gz")) + (sha256 + (base32 + "1v3nl2kaj4fs55n1617n53q8sa3mir06898vpy1rq98zjih24h4d")) + (patches + (list (origin + (method url-fetch) + (uri "https://rt.cpan.org/Public/Ticket/Attachment/1575108/841078/patch.txt") + (sha256 + (base32 + "027fzq1dryqwhkprz4r32vj78qfdnx1mhjx6piag7p62p5npmdic"))))))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (inputs `(("perl-net-dns" ,perl-net-dns))) + (home-page + "http://search.cpan.org/dist/Net-DNS-Resolver-Programmable") + (synopsis + "programmable DNS resolver class for offline +emulation of DNS") + (description "Net::DNS::Resolver::Programmable is a programmable DNS resolver for +offline emulation of DNS.") + (license (package-license perl))))