mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add perl-time-piece.
* gnu/packages/perl.scm (perl-time-piece): New public variable.
This commit is contained in:
parent
e2e6e9ebf0
commit
da43edbe0f
1 changed files with 22 additions and 0 deletions
|
@ -7890,6 +7890,28 @@ (define-public perl-time-local
|
|||
the system epoch.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-time-piece
|
||||
(package
|
||||
(name "perl-time-piece")
|
||||
(version "1.3203")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://cpan/authors/id/E/ES/ESAYM/Time-Piece-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0hbg99v8xqy3nx6nrjpwh1w6xwqpfflz0djkbdd72kvf8zvglwb9"))))
|
||||
(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}
|
||||
functions with implementations that return objects. It does so in a
|
||||
backwards-compatible manner, so that using these functions as documented will
|
||||
still work as expected.")
|
||||
(license perl-license)))
|
||||
|
||||
(define-public perl-timedate
|
||||
(package
|
||||
(name "perl-timedate")
|
||||
|
|
Loading…
Reference in a new issue