mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
input-remapper: use versionCheckHook
(cherry picked from commit 7a140832e2)
This commit is contained in:
committed by
github-actions[bot]
parent
f2644eebd9
commit
1f64bd1cd8
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user