gnu: Add Email-MIME-ContentType.
authorEric Bavier <bavier@member.fsf.org>
Mon, 6 Apr 2015 17:04:24 +0000 (12:04 -0500)
committerEric Bavier <bavier@member.fsf.org>
Mon, 20 Apr 2015 00:48:47 +0000 (19:48 -0500)
* gnu/packages/mail.scm (perl-email-mime-contenttype): New variable.

gnu/packages/mail.scm

index 1121ea9..afa1f64 100644 (file)
@@ -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