From 55025bb516157db8a8e8dbd774fdd1bb1382e920 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 6 Apr 2015 12:04:24 -0500 Subject: gnu: Add Email-MIME-ContentType. * gnu/packages/mail.scm (perl-email-mime-contenttype): New variable. --- gnu/packages/mail.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/mail.scm') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 1121ea91c8..afa1f64ddb 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -689,4 +689,25 @@ (define-public perl-email-messageid 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 -- cgit v1.2.3