mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "motioneye";
|
|
version = "0.44.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "motioneye-project";
|
|
repo = "motioneye";
|
|
tag = version;
|
|
hash = "sha256-4sXttSSkmMgsoZb7PXEXXh8KNORTSmqq4lYp3JBDmPo=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
babel
|
|
boto3
|
|
jinja2
|
|
pillow
|
|
pycurl
|
|
tornado
|
|
argon2-cffi
|
|
];
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
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";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ marcel ];
|
|
};
|
|
}
|