From 1e52fd83c2f03f9fb3de9dde662bccd4407a9309 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 10 Dec 2017 22:54:06 +0530 Subject: gnu: Add afew. * gnu/packages/mail.scm (afew): New variable. --- gnu/packages/mail.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 21db463411..89062da3b7 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2381,3 +2381,28 @@ the GNOME desktop. It supports both POP3 and IMAP servers as well as the mbox, maildir and mh local mailbox formats. Balsa also supports SMTP and/or the use of a local MTA such as Sendmail.") (license gpl3+))) + +(define-public afew + (package + (name "afew") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "afew" version)) + (sha256 + (base32 + "121w7bd53xyibllxxbfykjj76n81kn1vgjqd22izyh67y8qyyk5r")))) + (build-system python-build-system) + (inputs + `(("python-chardet" ,python-chardet) + ("python-notmuch" ,python-notmuch))) + (native-inputs + `(("python-setuptools-scm" ,python-setuptools-scm))) + (home-page "https://github.com/afewmail/afew") + (synopsis "Initial tagging script for notmuch mail") + (description "afew is an initial tagging script for notmuch mail. It +provides automatic tagging each time new mail is registered with notmuch. It +can add tags based on email headers or Maildir folders and can handle spam and +killed threads.") + (license isc))) -- cgit v1.2.3