mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
motioneye: 0.43.1 -> 0.44.0 (#535230)
This commit is contained in:
commit
bd2fdcc80b
2 changed files with 17 additions and 18 deletions
|
|
@ -2,31 +2,21 @@
|
|||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "motioneye";
|
||||
version = "0.43.1";
|
||||
version = "0.44.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "motioneye-project";
|
||||
repo = "motioneye";
|
||||
tag = version;
|
||||
hash = "sha256-ckOgYmOP5irjNutcC3FMZPBexn/CldG0UtFZ+tPYNJ4=";
|
||||
hash = "sha256-4sXttSSkmMgsoZb7PXEXXh8KNORTSmqq4lYp3JBDmPo=";
|
||||
};
|
||||
|
||||
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
|
||||
];
|
||||
|
|
@ -38,16 +28,24 @@ python3Packages.buildPythonApplication rec {
|
|||
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";
|
||||
|
|
|
|||
|
|
@ -18,16 +18,16 @@
|
|||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "tornado";
|
||||
version = "6.5.4";
|
||||
version = "6.5.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tornadoweb";
|
||||
repo = "tornado";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-d6lKg8yrQqaCeKxdPjQNzv7Nc23U/v8d5x3sE3trRM4=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-iE0Tf95zmPoZJhw7FDLzTmv8HaWds3ZU5xzZSMvxFH4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
@ -63,9 +63,10 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://www.tornadoweb.org/en/stable/releases/${finalAttrs.src.tag}.html";
|
||||
description = "Web framework and asynchronous networking library";
|
||||
homepage = "https://www.tornadoweb.org/";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue