motioneye: add versionCheckHook

This commit is contained in:
Marcel 2026-06-25 12:20:06 +02:00 committed by Martin Weinelt
commit 8221f1e025
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,6 +2,7 @@
lib,
python3Packages,
fetchFromGitHub,
versionCheckHook,
}:
python3Packages.buildPythonApplication rec {
@ -34,10 +35,17 @@ python3Packages.buildPythonApplication rec {
pytestCheckHook
];
nativeInstallCheckInputs = [
versionCheckHook
];
pythonImportsCheck = [
"motioneye"
];
versionCheckProgram = "${placeholder "out"}/bin/meyectl";
versionCheckProgramArg = "-v";
meta = {
description = "Web frontend for the motion daemon";
homepage = "https://github.com/motioneye-project/motioneye";