motioneye: init at 0.43.1

This commit is contained in:
Marcel
2026-03-23 00:08:18 +01:00
parent b40629efe5
commit faa5144a47
+57
View File
@@ -0,0 +1,57 @@
{
lib,
python3Packages,
fetchFromGitHub,
fetchpatch,
}:
python3Packages.buildPythonApplication rec {
pname = "motioneye";
version = "0.43.1";
pyproject = true;
src = fetchFromGitHub {
owner = "motioneye-project";
repo = "motioneye";
tag = version;
hash = "sha256-ckOgYmOP5irjNutcC3FMZPBexn/CldG0UtFZ+tPYNJ4=";
};
patches = [
# fix pytest
# https://github.com/motioneye-project/motioneye/pull/3271
(fetchpatch {
url = "https://github.com/motioneye-project/motioneye/commit/41c0727e2872af1b758743c41b529e76dcac6f84.patch";
hash = "sha256-0zDveoAN1T0SuCob0U/9GEGTh7pj2CXH/j4YrjO0VE0=";
includes = [ "conftest.py" ];
})
];
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
babel
boto3
jinja2
pillow
pycurl
tornado
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
];
pythonImportsCheck = [
"motioneye"
];
meta = {
description = "Web frontend for the motion daemon";
homepage = "https://github.com/motioneye-project/motioneye";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ marcel ];
};
}