Commit 7a140832 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

input-remapper: use versionCheckHook

parent 228cc82d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"