summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 12:05:32 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:48 -0500
commitaa86a3be20197a3cc0a058d7bf5b057a64916512 (patch)
treebb812780640ffb4cee5d53480440e0e90a425c44 /gnu/packages/mail.scm
parent02e299360776b36608723860e18f62aaffec3b55 (diff)
downloadguix-aa86a3be20197a3cc0a058d7bf5b057a64916512.tar.gz
gnu: Add Email-Date-Format.
* gnu/packages/mail.scm (perl-email-date-format): New variable.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index f4dc8695e3..10ad2f6763 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -670,6 +670,25 @@ locates email addresses in strings and returns a list of Email::Address
 objects found.  Alternatively you may construct objects manually.")
     (license (package-license perl))))
 
+(define-public perl-email-date-format
+  (package
+    (name "perl-email-date-format")
+    (version "1.005")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+                           "Email-Date-Format-" version ".tar.gz"))
+       (sha256
+        (base32
+         "012ivfwpnbl3wr50f9c6f4azhdlxnm31pdn72528g79v61z6372p"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Email-Date-Format")
+    (synopsis "Produce RFC 2822 date strings")
+    (description "Email::Date::Format provides a means for generating an RFC
+2822 compliant datetime string.")
+    (license (package-license perl))))
+
 (define-public perl-email-messageid
   (package
     (name "perl-email-messageid")