~ruther/guix-local

8a0773a2b4e4f3d7f3536a0c5746e2258cbc9a09 — ng0 9 years ago 951e924
gnu: Add perl-datetime-format-w3cdtf.

* gnu/packages/perl.scm (perl-datetime-format-w3cdtf): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
1 files changed, 26 insertions(+), 0 deletions(-)

M gnu/packages/perl.scm
M gnu/packages/perl.scm => gnu/packages/perl.scm +26 -0
@@ 1813,6 1813,32 @@ edges (mainly concerning timezone detection and selection).")
This module parses and emits such dates.")
    (license (package-license perl))))

(define-public perl-datetime-format-w3cdtf
  (package
    (name "perl-datetime-format-w3cdtf")
    (version "0.06")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://cpan/authors/id/G/GW/GWILLIAMS/"
                                  "DateTime-Format-W3CDTF-" version ".tar.gz"))
              (sha256
               (base32
                "0ymxizwd2zfx8b4bmrmv4k439qwfwf2522jrvn4hlay5v6z459dr"))))
    (build-system perl-build-system)
    (inputs
     `(("perl-datetime" ,perl-datetime)))
    (native-inputs
     `(("perl-test-pod" ,perl-test-pod)
       ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
    (home-page "http://search.cpan.org/dist/DateTime-Format-W3CDTF")
    (synopsis "Parse and format W3CDTF datetime strings")
    (description
     "This module understands the W3CDTF date/time format, an ISO 8601 profile,
defined at https://www.w3.org/TR/NOTE-datetime.  This format is the native date
format of RSS 1.0.  It can be used to parse these formats in order to create
the appropriate objects.")
    (license (package-license perl))))

(define-public perl-devel-caller
  (package
    (name "perl-devel-caller")