Subject: [PATCH v2 30/37] gnu: Add perl-mail-message.

From: Felix Lechner <[email-masked]>
Date: Tue, 16 Jan 2024 14:13:08 -0800

* gnu/packages/mail.scm (perl-mail-message): New variable.

Change-Id: I25f754d2510e4e2c4bf3e55e28e7daa48a6ca125
---
 gnu/packages/mail.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 73026012a9..dd798ff204 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2460,6 +2460,33 @@ (define-public perl-email-simple
 format and headers.")
     (license license:perl-license)))
 
+(define-public perl-mail-message
+  (package
+    (name "perl-mail-message")
+    (version "3.015")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/Mail-Message-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "0nmjk4ik76hlxwd183z0c7prdpcmm85a811lz24x8gkxhxzqv1dj"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list perl-io-stringy
+                             perl-mailtools
+                             perl-mime-types
+                             perl-timedate
+                             perl-uri
+                             perl-user-identity))
+    (home-page "https://metacpan.org/release/Mail-Message")
+    (synopsis "Processing MIME messages")
+    (description "A Mail::Message object is a container for MIME-encoded message
+information, as defined by RFC2822.  Everything that is not specificaly related
+to storing the messages in mailboxes (folders) is implemented in this class.
+Methods which are related to folders is implemented in the Mail::Box::Message
+extension.")
+    (license license:perl-license)))
+
 (define-public libesmtp
   (package
     (name "libesmtp")
-- 
2.41.0