summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorPierre Langlois <pierre.langlois@gmx.com>2021-08-21 11:43:10 +0100
committerPierre Langlois <pierre.langlois@gmx.com>2021-09-02 20:38:59 +0100
commit76ef6dc7160ad0ff81073c7ce6f56517b7dc7c90 (patch)
tree7197f26d5e72ab3c4b7314062f9f9f79290041f0 /gnu/packages/mail.scm
parentfb77bf950e31a92a56233cdfd995e48ded3f884f (diff)
downloadguix-76ef6dc7160ad0ff81073c7ce6f56517b7dc7c90.tar.gz
gnu: Add python-imaplib2.
* gnu/packages/mail.scm (python-imaplib2): New variable.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 9d90192617..4541b55006 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4360,6 +4360,24 @@ based on asyncio.")
     (license (list license:asl2.0
                    license:lgpl3))))    ; only for setup_helpers.py
 
+(define-public python-imaplib2
+  (package
+    (name "python-imaplib2")
+    (version "3.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "imaplib2" version))
+       (sha256
+        (base32
+         "0nqyb274hq30agg1c0zkb5ijmcirgg35sp4dp4n292l665dlijwn"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/jazzband/imaplib2/")
+    (synopsis "Threaded Python IMAP4 client")
+    (description "This package provides a threaded Python IMAP4 client, based
+on RFC 3501 and original @code{imaplib} module.")
+    (license license:expat)))
+
 (define-public rspamd
   (package
     (name "rspamd")