aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2019-04-04 22:46:54 +0800
committer宋文武 <iyzsong@member.fsf.org>2019-04-10 19:00:18 +0800
commit944d3b4b015613e6b26807a465ae2225e23ce99d (patch)
tree14f1829b6ec66d4db9f5ad7317ac840181137732 /gnu
parent9e1e046040182d8c4bb6e847bcd331862f9015bb (diff)
downloadguix-944d3b4b015613e6b26807a465ae2225e23ce99d.tar
guix-944d3b4b015613e6b26807a465ae2225e23ce99d.tar.gz
gnu: Add perl-email-address-xs.
* gnu/packages/mail.scm (perl-email-address-xs): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d78efbf09c..3d2039dfac 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1504,6 +1504,28 @@ locates email addresses in strings and returns a list of Email::Address
objects found. Alternatively you may construct objects manually.")
(license perl-license)))
+(define-public perl-email-address-xs
+ (package
+ (name "perl-email-address-xs")
+ (version "1.04")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/P/PA/PALI/"
+ "Email-Address-XS-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gjrrl81z3sfwavgx5kwjd87gj44mlnbbqsm3dgdv1xllw26spwr"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/Email-Address-XS")
+ (synopsis "Parse and format RFC 5322 email addresses and groups")
+ (description
+ "Email::Address::XS implements RFC 5322 parser and formatter of email
+addresses and groups. Unlike Email::Address, this module does not use regular
+expressions for parsing but instead is implemented in XS and uses shared code
+from Dovecot IMAP server.")
+ (license perl-license)))
+
(define-public perl-email-date-format
(package
(name "perl-email-date-format")