mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 01:21:11 +00:00
afew: use versionCheckHook
Suugested in https://github.com/NixOS/nixpkgs/pull/544256#issuecomment-5036216052.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user