mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
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, …)
This commit is contained in:
parent
169fc2eeca
commit
906dccf595
|
@ -2,18 +2,22 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "afew";
|
pname = "afew";
|
||||||
version = "2.0.0";
|
version = "3.0.0";
|
||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
src = python3Packages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0j60501nm242idf2ig0h7p6wrg58n5v2p6zfym56v9pbvnbmns0s";
|
sha256 = "18j3xyzchlslcrkycr2i59jg73cb6yh5s7l3qnl6sa7vgxcbhq7c";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3Packages; [ sphinx setuptools_scm ];
|
nativeBuildInputs = with python3Packages; [ sphinx setuptools_scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
python3Packages.setuptools python3Packages.notmuch chardet dkimpy
|
python3Packages.setuptools python3Packages.notmuch chardet dkimpy
|
||||||
] ++ stdenv.lib.optional (!python3Packages.isPy3k) subprocess32;
|
];
|
||||||
|
|
||||||
|
checkInputs = with python3Packages; [
|
||||||
|
freezegun notmuch
|
||||||
|
];
|
||||||
|
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
''--prefix PATH ':' "${notmuch}/bin"''
|
''--prefix PATH ':' "${notmuch}/bin"''
|
||||||
|
|
Loading…
Reference in a new issue