bavier pushed a commit to branch master
in repository guix.
commit 55025bb516157db8a8e8dbd774fdd1bb1382e920
Author: Eric Bavier <[email protected]>
Date: Mon Apr 6 12:04:24 2015 -0500
gnu: Add Email-MIME-ContentType.
* gnu/packages/mail.scm (perl-email-mime-contenttype): New variable.
---
gnu/packages/mail.scm | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 1121ea9..afa1f64 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -689,4 +689,25 @@ objects found. Alternatively you may construct objects
manually.")
identify a message uniquely.")
(license (package-license perl))))
+(define-public perl-email-mime-contenttype
+ (package
+ (name "perl-email-mime-contenttype")
+ (version "1.017")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+ "Email-MIME-ContentType-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1cl1l97lg690dh7i704hqi7yhxalq1chy7ylld5yc5v38jqa6gcn"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-capture-tiny" ,perl-capture-tiny)))
+ (home-page "http://search.cpan.org/dist/Email-MIME-ContentType")
+ (synopsis "Parse MIME Content-Type headers")
+ (description "Email::MIME::ContentType parses a MIME Content-Type
+header.")
+ (license (package-license perl))))
+
;;; mail.scm ends here