input-remapper: use versionCheckHook

(cherry picked from commit 7a140832e2)
This commit is contained in:
Yueh-Shun Li
2025-12-18 18:36:48 +08:00
committed by github-actions[bot]
parent f2644eebd9
commit 1f64bd1cd8

View File

@@ -20,6 +20,7 @@
gtksourceview4,
bash,
udevCheckHook,
versionCheckHook,
nixosTests,
# Change the default log level to debug for easier debugging of package issues
withDebugLogLevel ? false,
@@ -83,9 +84,12 @@ in
# buildPythonApplication maps nativeCheckInputs to nativeInstallCheckInputs.
nativeCheckInputs = [
udevCheckHook
versionCheckHook
]
++ lib.optionals withDoCheck [ psutil ];
versionCheckProgram = "${placeholder "out"}/bin/input-remapper-control";
pythonImportsCheck = [
"evdev"
"inputremapper"