guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add perl-socket6.


From: ng0
Subject: Re: [PATCH] gnu: Add perl-socket6.
Date: Thu, 28 Jul 2016 09:13:17 +0000

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 <address@hidden> writes:

> From: Danny Milosavljevic <address@hidden>
>
> * 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]