From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v3 03/16] gnu: Add perl-socket6. Date: Thu, 28 Jul 2016 13:04:18 +0200 Message-ID: <20160728130418.3506362d@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]:44197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSj72-0000Do-Tn for guix-devel@gnu.org; Thu, 28 Jul 2016 07:04:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSj70-00058d-Js for guix-devel@gnu.org; Thu, 28 Jul 2016 07:04:23 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:54552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSj70-00058U-DO for guix-devel@gnu.org; Thu, 28 Jul 2016 07:04:22 -0400 Received: from localhost (178.112.81.47.wireless.dyn.drei.com [178.112.81.47]) by dd1012.kasserver.com (Postfix) with ESMTPSA id A4BEF1CA06E3 for ; Thu, 28 Jul 2016 13:04:21 +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-socket6. * gnu/packages/networking.scm (perl-socket6): 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 0568836..a6318b2 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -436,3 +436,36 @@ application stack itself.") "Perl Interface to the Domain Name System") (description "Net::DNS is the Perl Interface to the Domain Name System.") (license license:x11))) + +(define-public perl-socket6 + (package + (name "perl-socket6") + (version "0.28") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/U/UM/UMEMOTO/Socket6-" + version + ".tar.gz")) + (sha256 + (base32 + "11j5jzqbzmwlws9zals43ry2f1nw9qy6im7yhn9ck5rikywrmm5z")))) + (build-system perl-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (args `("Makefile.PL" + ,(string-append "PREFIX=" out) + "INSTALLDIRS=site"))) + (setenv "CONFIG_SHELL" (which "sh")) + (zero? (apply system* "perl" args)))))))) + (home-page "http://search.cpan.org/dist/Socket6") + (synopsis + "IPv6 related part of the C socket.h defines and structure manipulators for Perl") + (description "Socket6 binds the IPv6 related part of the C socket header +definitions and structure manipulators for Perl.") + (license license:bsd-3)))