aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 12:06:45 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:48 -0500
commit0a4c49f6134fb3da7e96805455d45aa4c143763a (patch)
treeffd0107121ef812815026f256b9a9416a6d40f69 /gnu
parent151ef3edc3dccc5ee65b9f6d2e78aa69b70b12bc (diff)
downloadguix-0a4c49f6134fb3da7e96805455d45aa4c143763a.tar
guix-0a4c49f6134fb3da7e96805455d45aa4c143763a.tar.gz
gnu: Add Email-MIME.
* gnu/packages/mail.scm (perl-email-mime): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 2c795f6eda..10978fe62a 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -708,6 +708,34 @@ objects found. Alternatively you may construct objects manually.")
identify a message uniquely.")
(license (package-license perl))))
+(define-public perl-email-mime
+ (package
+ (name "perl-email-mime")
+ (version "1.929")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+ "Email-MIME-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1sf7dldg4dvicyw6dl1vx6s1gjq3fcppi0103ikl0vi6v5xjdjdh"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-email-address" ,perl-email-address)
+ ("perl-email-messageid" ,perl-email-messageid)
+ ("perl-email-mime-contenttype" ,perl-email-mime-contenttype)
+ ("perl-email-mime-encodings" ,perl-email-mime-encodings)
+ ("perl-email-simple" ,perl-email-simple)
+ ("perl-mime-types" ,perl-mime-types)))
+ (home-page "http://search.cpan.org/dist/Email-MIME")
+ (synopsis "MIME message handling")
+ (description "Email::MIME is an extension of the Email::Simple module, to
+handle MIME encoded messages. It takes a message as a string, splits it up
+into its constituent parts, and allows you access to various parts of the
+message. Headers are decoded from MIME encoding.")
+ (license (package-license perl))))
+
(define-public perl-email-mime-contenttype
(package
(name "perl-email-mime-contenttype")