mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
motioneye: add versionCheckHook
This commit is contained in:
parent
6a12e47976
commit
8221f1e025
1 changed files with 8 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue