From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v4 16/16] gnu: Add perl-io-socket-inet6 Date: Thu, 28 Jul 2016 13:21:57 +0200 Message-ID: <20160728132157.319446de@scratchpost.org> References: <20160728131932.0387fb87@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]:48907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjO8-0006Tg-AR for guix-devel@gnu.org; Thu, 28 Jul 2016 07:22:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSjO3-0008Qx-U8 for guix-devel@gnu.org; Thu, 28 Jul 2016 07:22:03 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:55276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjO3-0008Qt-Nk for guix-devel@gnu.org; Thu, 28 Jul 2016 07:21:59 -0400 Received: from localhost (178.112.81.47.wireless.dyn.drei.com [178.112.81.47]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 086B51CA06E3 for ; Thu, 28 Jul 2016 13:21:58 +0200 (CEST) In-Reply-To: <20160728131932.0387fb87@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-io-socket-inet6 * gnu/packages/networking.scm (perl-io-socket-inet6): 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 660c025..1ff3be4 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -612,3 +612,36 @@ offline emulation of DNS.") (description "The Perl module 'Geo::IP'. It looks up location and network information by IP Address.") (license (package-license perl)))) + +(define-public perl-io-socket-inet6 + (package + (name "perl-io-socket-inet6") + (version "2.72") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-" + version + ".tar.gz")) + (sha256 + (base32 + "1fqypz6qa5rw2d5y2zq7f49frwra0aln13nhq5gi514j2zx21q45")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage) + ;; this doesn't actually work if we do add it. + #| ("perl-test-trailingspace" ,perl-test-trailingspace) |#)) + (inputs `(("perl-socket6" ,perl-socket6))) + (arguments `(;; Need network socket API + #:tests? #f)) + (home-page + "http://search.cpan.org/dist/IO-Socket-INET6") + (synopsis + "Perl object interface for AF_INET/AF_INET6 domain sockets") + (description "IO::Socket::INET6 is an interface for +AF_INET/AF_INET6 domain sockets in Perl.") + (license (package-license perl)))) +