gnu: Add perl-datetime-calendar-julian.

* gnu/packages/perl.scm (perl-datetime-calendar-julian): New variable.
This commit is contained in:
Ricardo Wurmus 2016-11-23 22:02:52 +01:00
parent 36dd594316
commit 7a146c2528
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 24 additions and 0 deletions

View File

@ -1670,6 +1670,30 @@ combinations. It represents the Gregorian calendar, extended backwards in
time before its creation (in 1582).")
(license artistic2.0)))
(define-public perl-datetime-calendar-julian
(package
(name "perl-datetime-calendar-julian")
(version "0.04")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/P/PI/PIJLL/"
"DateTime-Calendar-Julian-" version ".tar.gz"))
(sha256
(base32
"03h0llkwsiw2d2ci1ah5x9sp8xrvnbgd471i5hnpgl5w32nnhndv"))))
(build-system perl-build-system)
;; Only needed for tests
(native-inputs
`(("perl-datetime" ,perl-datetime)))
(home-page "http://search.cpan.org/dist/DateTime-Calendar-Julian")
(synopsis "Dates in the Julian calendar")
(description "This package is a companion module to @code{DateTime.pm}.
It implements the Julian calendar. It supports everything that
@code{DateTime.pm} supports and more: about one day per century more, to be
precise.")
(license (package-license perl))))
(define-public perl-datetime-set
(package
(name "perl-datetime-set")