From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v5 16/17] gnu: Add perl-io-socket-inet6 Date: Thu, 28 Jul 2016 23:38:32 +0200 Message-ID: <20160728213833.22057-17-dannym@scratchpost.org> References: <20160728213833.22057-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.9.1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSt1k-0007tZ-HJ for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSt1h-0006Ef-DL for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:36 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:55100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSt1h-0006ED-77 for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:33 -0400 In-Reply-To: <20160728213833.22057-1-dannym@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 This is a multi-part message in MIME format. --------------2.9.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable 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(+) --------------2.9.1 Content-Type: text/x-patch; name="0016-gnu-Add-perl-io-socket-inet6.patch" Content-Disposition: attachment; filename="0016-gnu-Add-perl-io-socket-inet6.patch" Content-Transfer-Encoding: quoted-printable 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'.=20 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)))) + --------------2.9.1--