summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-01 14:55:29 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-02 10:40:35 -0500
commite210472d9fb9fd640d250dab3854a228f193c372 (patch)
treef29c3bde1048468274c89acc8c032cc1d6ae210c /gnu/packages
parentf12b77a82f2fac178e69d3cecd28f2a2a44dfb80 (diff)
downloadguix-e210472d9fb9fd640d250dab3854a228f193c372.tar.gz
gnu: Add DateTime-Locale.
* gnu/packages/perl.scm (perl-datetime-locale): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index d46941d107..6cb710e921 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1043,6 +1043,28 @@ support for per-object behavior, circular structures, visiting tied
 structures, and all ref types (hashes, arrays, scalars, code, globs).")
     (license (package-license perl))))
 
+(define-public perl-datetime-locale
+  (package
+    (name "perl-datetime-locale")
+    (version "0.45")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
+                           "DateTime-Locale-" version ".tar.gz"))
+       (sha256
+        (base32
+         "175grkrxiv012n6ch3z1sip4zprcili6m5zqi3njdk5c1gdvi8ca"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-list-moreutils" ,perl-list-moreutils)
+       ("perl-params-validate" ,perl-params-validate)))
+    (home-page "http://search.cpan.org/dist/DateTime-Locale")
+    (synopsis "Localization support for DateTime.pm")
+    (description "The DateTime::Locale modules provide localization data for
+the DateTime.pm class.")
+    (license (package-license perl))))
+
 (define-public perl-datetime-timezone
   (package
     (name "perl-datetime-timezone")