From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add perl-socket6. Date: Thu, 28 Jul 2016 09:13:17 +0000 Message-ID: <87shuu3z2q.fsf@we.make.ritual.n0.is> References: <20160726224331.52883f8a@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bShNd-0006M5-7o for guix-devel@gnu.org; Thu, 28 Jul 2016 05:13:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bShNa-0003z1-Or for guix-devel@gnu.org; Thu, 28 Jul 2016 05:13:24 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:55651 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bShNa-0003xy-EA for guix-devel@gnu.org; Thu, 28 Jul 2016 05:13:22 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id aa50b438 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Thu, 28 Jul 2016 09:13:19 +0000 (UTC) In-Reply-To: <20160726224331.52883f8a@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 Hi, could you fix the commit message the same way pointed out in the previous (perl-net-dns) package and rebase it on master? This one fails at line 399 of networking.scm, I can not apply it. Danny Milosavljevic writes: > From: Danny Milosavljevic > > * 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 a271543..c56ec36 100644 > --- a/gnu/packages/networking.scm > +++ b/gnu/packages/networking.scm > @@ -399,3 +399,36 @@ network frames.") > "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))) > -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org