diff options
author | Florian Klink <flokli@flokli.de> | 2020-03-10 02:27:25 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-03-10 02:27:25 +0100 |
commit | 906dccf5952ab48f743a45bf0d0595aad02dcb67 (patch) | |
tree | afecdb930ceca532e3019dec65f9b521549d5df0 | |
parent | 169fc2eecaf48348d1d2dc81b500fb55a94518e6 (diff) | |
download | nixlib-906dccf5952ab48f743a45bf0d0595aad02dcb67.tar nixlib-906dccf5952ab48f743a45bf0d0595aad02dcb67.tar.gz nixlib-906dccf5952ab48f743a45bf0d0595aad02dcb67.tar.bz2 nixlib-906dccf5952ab48f743a45bf0d0595aad02dcb67.tar.lz nixlib-906dccf5952ab48f743a45bf0d0595aad02dcb67.tar.xz nixlib-906dccf5952ab48f743a45bf0d0595aad02dcb67.tar.zst nixlib-906dccf5952ab48f743a45bf0d0595aad02dcb67.zip |
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, …)
-rw-r--r-- | pkgs/applications/networking/mailreaders/afew/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/networking/mailreaders/afew/default.nix b/pkgs/applications/networking/mailreaders/afew/default.nix index 54b3e10b5e29..b99629a58fd2 100644 --- a/pkgs/applications/networking/mailreaders/afew/default.nix +++ b/pkgs/applications/networking/mailreaders/afew/default.nix @@ -2,18 +2,22 @@ python3Packages.buildPythonApplication rec { pname = "afew"; - version = "2.0.0"; + version = "3.0.0"; src = python3Packages.fetchPypi { inherit pname version; - sha256 = "0j60501nm242idf2ig0h7p6wrg58n5v2p6zfym56v9pbvnbmns0s"; + sha256 = "18j3xyzchlslcrkycr2i59jg73cb6yh5s7l3qnl6sa7vgxcbhq7c"; }; nativeBuildInputs = with python3Packages; [ sphinx setuptools_scm ]; propagatedBuildInputs = with python3Packages; [ python3Packages.setuptools python3Packages.notmuch chardet dkimpy - ] ++ stdenv.lib.optional (!python3Packages.isPy3k) subprocess32; + ]; + + checkInputs = with python3Packages; [ + freezegun notmuch + ]; makeWrapperArgs = [ ''--prefix PATH ':' "${notmuch}/bin"'' |