From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO665-0001o2-Ak for guix-patches@gnu.org; Sun, 10 Dec 2017 13:13:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO662-0000cO-5J for guix-patches@gnu.org; Sun, 10 Dec 2017 13:13:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO662-0000cC-1A for guix-patches@gnu.org; Sun, 10 Dec 2017 13:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eO661-0002ML-O7 for guix-patches@gnu.org; Sun, 10 Dec 2017 13:13:01 -0500 Subject: [bug#29649] [PATCH] gnu: Add afew. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO65k-0001e2-Ax for guix-patches@gnu.org; Sun, 10 Dec 2017 13:12:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO65h-0000N5-5E for guix-patches@gnu.org; Sun, 10 Dec 2017 13:12:44 -0500 Received: from vultr.systemreboot.net ([45.77.148.100]:47088) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eO65g-0000Je-Mc for guix-patches@gnu.org; Sun, 10 Dec 2017 13:12:41 -0500 From: Arun Isaac Date: Sun, 10 Dec 2017 23:41:50 +0530 Message-Id: <20171210181150.1064-1-arunisaac@systemreboot.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29649@debbugs.gnu.org * gnu/packages/mail.scm (afew): New variable. --- gnu/packages/mail.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 21db46341..c3cf54d60 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 +provide 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))) -- 2.15.0