projecteur: add versionCheckHook
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
qtgraphicaleffects,
|
||||
wrapQtAppsHook,
|
||||
udevCheckHook,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -38,14 +39,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
udevCheckHook
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSTALL_PREFIX:PATH=${placeholder "out"}"
|
||||
"-DPACKAGE_TARGETS=OFF"
|
||||
"-DCMAKE_INSTALL_UDEVRULESDIR=${placeholder "out"}/lib/udev/rules.d"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
meta = {
|
||||
description = "Linux/X11 application for the Logitech Spotlight device (and similar devices)";
|
||||
homepage = "https://github.com/jahnf/Projecteur";
|
||||
|
||||
Reference in New Issue
Block a user