Subject: [PATCH 27/55] gnu: Add perl-mail-rfc822-address.

From: Antero Mejr <[email-masked]>
Date: Sun, 4 Jun 2023 17:42:21 +0000

* gnu/packages/perl.scm (perl-mail-rfc822-address): New variable.
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 05d112863d..0ee709fc3c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6907,6 +6907,27 @@ (define-public perl-mail-sendmail
 requires Perl5 and a network connection.")
     (license license:perl-license)))
 
+(define-public perl-mail-rfc822-address
+  (package
+    (name "perl-mail-rfc822-address")
+    (version "0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/P/PD/PDWARREN/Mail-RFC822-Address-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "19y8hhb7hywyfpmiws1wwnkx2hw2mqzj824hwv55wryb9q8g87im"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Mail-RFC822-Address")
+    (synopsis
+     "Perl extension for validating email addresses according to RFC822")
+    (description
+     "@code{Mail::RFC822::Address} validates email addresses against the
+grammar described in RFC 822 using regular expressions.")
+    (license license:expat)))
+
 (define-public perl-math-bezier
   (package
     (name "perl-math-bezier")
-- 
2.39.2