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:06:23 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:48 -0500
commit151ef3edc3dccc5ee65b9f6d2e78aa69b70b12bc (patch)
tree71aeacc29dac3fc8f10d471df4815614f9160414 /gnu/packages/mail.scm
parentaa86a3be20197a3cc0a058d7bf5b057a64916512 (diff)
downloadguix-151ef3edc3dccc5ee65b9f6d2e78aa69b70b12bc.tar.gz
gnu: Add Email-Simple.
* gnu/packages/mail.scm (perl-email-simple): New variable.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 10ad2f6763..2c795f6eda 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -749,4 +749,25 @@ header.")
     (description "This module wraps MIME::Base64 and MIME::QuotedPrint.")
     (license (package-license perl))))
 
+(define-public perl-email-simple
+  (package
+    (name "perl-email-simple")
+    (version "2.206")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+                           "Email-Simple-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19dpy3j5na2k9qw1jcpc8ia25038068r9j1bn34f9yyrisz7s522"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-email-date-format" ,perl-email-date-format)))
+    (home-page "http://search.cpan.org/dist/Email-Simple")
+    (synopsis "Parsing of RFC 2822 messages")
+    (description "Email::Simple provides simple parsing of RFC 2822 message
+format and headers.")
+    (license (package-license perl))))
+
 ;;; mail.scm ends here