mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add DateTime.
* gnu/packages/perl.scm (perl-datetime): New variable.
This commit is contained in:
parent
e210472d9f
commit
c90361b322
1 changed files with 28 additions and 0 deletions
|
@ -1043,6 +1043,34 @@ (define-public perl-data-visitor
|
|||
structures, and all ref types (hashes, arrays, scalars, code, globs).")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-datetime
|
||||
(package
|
||||
(name "perl-datetime")
|
||||
(version "1.18")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
|
||||
"DateTime-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0fli1ls298qa8nfki15myxqqqfpxvslxk4j5r3vjk577wfgjrnms"))))
|
||||
(build-system perl-build-system)
|
||||
(native-inputs
|
||||
`(("perl-test-fatal" ,perl-test-fatal)
|
||||
("perl-test-warnings" ,perl-test-warnings)))
|
||||
(propagated-inputs
|
||||
`(("perl-datetime-locale" ,perl-datetime-locale)
|
||||
("perl-datetime-timezone" ,perl-datetime-timezone)
|
||||
("perl-params-validate" ,perl-params-validate)
|
||||
("perl-try-tiny" ,perl-try-tiny)))
|
||||
(home-page "http://search.cpan.org/dist/DateTime")
|
||||
(synopsis "Date and time object for Perl")
|
||||
(description "DateTime is a class for the representation of date/time
|
||||
combinations. It represents the Gregorian calendar, extended backwards in
|
||||
time before its creation (in 1582).")
|
||||
(license artistic2.0)))
|
||||
|
||||
(define-public perl-datetime-locale
|
||||
(package
|
||||
(name "perl-datetime-locale")
|
||||
|
|
Loading…
Reference in a new issue