Ben Woodcroft <donttrust...@gmail.com> writes:

> * gnu/packages/perl.scm (perl-time-piece): New variable.
> ---
>  gnu/packages/perl.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
> index 6b4370d..55982ab 100644
> --- a/gnu/packages/perl.scm
> +++ b/gnu/packages/perl.scm
> @@ -7162,6 +7162,28 @@ time values and formatting dates into ASCII strings.")
>  and time() calls.")
>      (license (package-license perl))))
>  
> +(define-public perl-time-piece
> +  (package
> +    (name "perl-time-piece")
> +    (version "1.31")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "mirror://cpan/authors/id/E/ES/ESAYM/Time-Piece-"
> +                           version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1fb7s5y9f3j80h2dfsgplmdcrhp96ccqs0qqabmckkkgvhj40205"))))
> +    (build-system perl-build-system)
> +    (home-page "http://search.cpan.org/dist/Time-Piece";)
> +    (synopsis "Object-oriented time objects")
> +    (description "This module replaces the standard @code{localtime} and
> +@code{gmtime} Perl functions with implementations that return objects.  It 
> does
> +so in a backwards compatible manner, so that using
> +@code{localtime}/@code{gmtime} in the way documented in perlfunc will still
> +return what you expect.")
> +    (license (package-license perl))))

LGTM

> +
>  (define-public perl-tree-simple
>    (package
>      (name "perl-tree-simple")
> -- 
> 2.10.2

Attachment: signature.asc
Description: PGP signature

Reply via email to