summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 12:22:20 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:48 -0500
commit26b8de19630af0873495c67f63120d9d044a6cdc (patch)
tree69de9411213f412916379cfd61403407897af077
parent0a4c49f6134fb3da7e96805455d45aa4c143763a (diff)
downloadguix-26b8de19630af0873495c67f63120d9d044a6cdc.tar.gz
gnu: Add Email-Abstract.
* gnu/packages/mail.scm (perl-email-abstract): New variable.
-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 10978fe62a..0db3284233 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -650,6 +650,28 @@ facilities for checking incoming mail.")
 mailboxes.  Currently Maildir and IMAP are supported types.")
     (license gpl2+)))
 
+(define-public perl-email-abstract
+  (package
+    (name "perl-email-abstract")
+    (version "3.008")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+                           "Email-Abstract-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0h42rhvp769wb421cpbbg6v6xjp8iv86mvz70pqgfgf4nsn6jwgw"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-email-simple" ,perl-email-simple)
+       ("perl-mro-compat" ,perl-mro-compat)))
+    (home-page "http://search.cpan.org/dist/Email-Abstract")
+    (synopsis "Interface to mail representations")
+    (description "Email::Abstract provides module writers with the ability to
+write simple, representation-independent mail handling code.")
+    (license (package-license perl))))
+
 (define-public perl-email-address
   (package
     (name "perl-email-address")