diff options
author | Reza Alizadeh Majd <r.majd@pantherx.org> | 2020-10-22 18:12:04 +0330 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-10-25 01:06:09 +0200 |
commit | 52c86fe8c9df402ee5046a6b0daf9138f0bcf3d5 (patch) | |
tree | 7eb05f98c06cd58921fbe509509f4a4c520668db /gnu | |
parent | a27ed9d51d5fa368cf1cd79745fcaee62d058a9b (diff) | |
download | guix-52c86fe8c9df402ee5046a6b0daf9138f0bcf3d5.tar.gz guix-52c86fe8c9df402ee5046a6b0daf9138f0bcf3d5.zip |
gnu: Add python-imap-tools.
* gnu/packages/python-web.scm (python-imap-tools): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-web.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b8b7ce9d31..da0a986084 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5164,3 +5164,30 @@ Encoding for HTTP.") "This module acts as a webbrowser solving Cloudflare's Javascript challenges.") (license license:expat))) + +(define-public python-imap-tools + (package + (name "python-imap-tools") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "imap_tools" version)) + (sha256 + (base32 + "0zd3dkahjc3np9b9zs9cqgmif1gd64ykl1ydw60k5l5zli4ydlk8")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; tests require internet access + (home-page "https://github.com/ikvk/imap_tools") + (synopsis "Work with email and mailbox by IMAP") + (description + "This Python library provides tools to deal with email and mailboxes +over IMAP: + +@itemize +@item Parsed email message attributes +@item Query builder for searching emails +@item Work with emails in folders (copy, delete, flag, move, seen) +@item Work with mailbox folders (list, set, get, create, exists, rename, delete, status) +@end itemize") + (license license:asl2.0))) |