afew: use versionCheckHook

Suugested in https://github.com/NixOS/nixpkgs/pull/544256#issuecomment-5036216052.
This commit is contained in:
Florian Klink
2026-07-22 13:53:16 +02:00
parent 7cff90c5d6
commit cb61121b52

View File

@@ -3,8 +3,7 @@
python3Packages,
fetchPypi,
pkgs,
testers,
afew,
versionCheckHook,
}:
python3Packages.buildPythonApplication (finalAttrs: {
@@ -39,6 +38,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
nativeCheckInputs = [
pkgs.notmuch
versionCheckHook
]
++ (with python3Packages; [
freezegun
@@ -55,12 +55,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
"man"
];
passthru.tests = {
version = testers.testVersion {
package = afew;
};
};
meta = {
homepage = "https://github.com/afewmail/afew";
description = "Initial tagging script for notmuch mail";