diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-04-06 17:45:45 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-04-19 19:48:49 -0500 |
commit | b271f727f0094c770c8f9d2d5023c24d92678857 (patch) | |
tree | 32630f6690e769f0f9f8b7b16524750161ef4c63 /gnu | |
parent | 3dcfec09c3822188fea441c989341d8825aa506f (diff) | |
download | patches-b271f727f0094c770c8f9d2d5023c24d92678857.tar patches-b271f727f0094c770c8f9d2d5023c24d92678857.tar.gz |
gnu: Add DateTime-Format-Flexible.
* gnu/packages/perl.scm (perl-datetime-format-flexible): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/perl.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e1aabcf5be..bc845f0078 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1189,6 +1189,31 @@ expression to extract the relevant information. Builder provides a simple way to do this without writing reams of structural code.") (license artistic2.0))) +(define-public perl-datetime-format-flexible + (package + (name "perl-datetime-format-flexible") + (version "0.26") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/T/TH/THINC/" + "DateTime-Format-Flexible-" version ".tar.gz")) + (sha256 + (base32 + "0gb9dsn178dpvgbbgwnaf3v2v8zy4xj36i0w5q8qbhvwx32znvj3")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-datetime" ,perl-datetime) + ("perl-datetime-format-builder" ,perl-datetime-format-builder) + ("perl-datetime-timezone" ,perl-datetime-timezone) + ("perl-list-moreutils" ,perl-list-moreutils) + ("perl-test-mocktime" ,perl-test-mocktime))) + (home-page "http://search.cpan.org/dist/DateTime-Format-Flexible") + (synopsis "Parse data/time strings") + (description "DateTime::Format::Flexible attempts to take any string you +give it and parse it into a DateTime object.") + (license (package-license perl)))) + (define-public perl-datetime-format-strptime (package (name "perl-datetime-format-strptime") |