afew: 2.0.0 -> 3.0.0
MailMover: many fixes
Previously, MailMover didn't properly preserve flags when renaming files, and
moved all mail to `cur`. This was fixed. Also, MailMover gained a test suite.
New filters: PropagateTags[ByRegex]InThreadFilter
These filters allow propagating tags set to a message to the whole thread.
New command line argument: --notmuch-args= in move mode
In move mode, afew calls `notmuch new` after moving mails around. This
prevents `afew -m` from being used in a pre-new hook in `notmuch`.
Now it's possible to specify notmuch args, so something like `afew -m
--notmuch-args=--no-hooks` can live happily in a pre-new hook.
Python 3.4 and 3.5 support dropped
afew stopped supporting the older python versions 3.4 and 3.5, and removed
some more Python 2 compatibility code. (`from __future__ import …`, utf-8
headers, relative imports, …)
commit906dccf5952ab48f743a45bf0d0595aad02dcb67
authorFlorian Klink <flokli@flokli.de>
dateTue 10 Mar 2020, 02:27 (7 years ago)
parent169fc2e
pkgs/applications/networking/mailreaders/afew/default.nix+7−3
@@ -2,18 +2,22 @@
22
33python3Packages.buildPythonApplication rec {
44 pname = "afew";
5− version = "2.0.0";
5+ version = "3.0.0";
66
77 src = python3Packages.fetchPypi {
88 inherit pname version;
9− sha256 = "0j60501nm242idf2ig0h7p6wrg58n5v2p6zfym56v9pbvnbmns0s";
9+ sha256 = "18j3xyzchlslcrkycr2i59jg73cb6yh5s7l3qnl6sa7vgxcbhq7c";
1010 };
1111
1212 nativeBuildInputs = with python3Packages; [ sphinx setuptools_scm ];
1313
1414 propagatedBuildInputs = with python3Packages; [
1515 python3Packages.setuptools python3Packages.notmuch chardet dkimpy
16− ] ++ stdenv.lib.optional (!python3Packages.isPy3k) subprocess32;
16+ ];
17+
18+ checkInputs = with python3Packages; [
19+ freezegun notmuch
20+ ];
1721
1822 makeWrapperArgs = [
1923 ''--prefix PATH ':' "${notmuch}/bin"''