From 8bef5b5978e91f64594530bed7cbe60525804d87 Mon Sep 17 00:00:00 2001 From: Thane Gill Date: Tue, 23 Sep 2025 16:30:28 -0700 Subject: [PATCH] changedetection-io: 0.49.4 -> 0.50.14 Apply suggestion from @uninsane Co-authored-by: Colin --- .../by-name/ch/changedetection-io/package.nix | 57 ++++++++++++------- 1 file changed, 37 insertions(+), 20 deletions(-) diff --git a/pkgs/by-name/ch/changedetection-io/package.nix b/pkgs/by-name/ch/changedetection-io/package.nix index 918a95f10788..8148e58cef54 100644 --- a/pkgs/by-name/ch/changedetection-io/package.nix +++ b/pkgs/by-name/ch/changedetection-io/package.nix @@ -2,18 +2,19 @@ lib, fetchFromGitHub, python3, + gitUpdater, }: python3.pkgs.buildPythonApplication rec { pname = "changedetection-io"; - version = "0.49.4"; + version = "0.50.14"; format = "setuptools"; src = fetchFromGitHub { owner = "dgtlmoon"; repo = "changedetection.io"; tag = version; - hash = "sha256-EmtJ8XXPb75W4VPj4Si9fdzVLDKVfm+8P6UZZlMpMdI="; + hash = "sha256-zxCb2mmCicjDxilj/l8HabJm2FsFQB0yLNaRiIDltwI="; }; pythonRelaxDeps = true; @@ -22,14 +23,13 @@ python3.pkgs.buildPythonApplication rec { with python3.pkgs; [ apprise - beautifulsoup4 - brotli babel + beautifulsoup4 + blinker + brotli chardet cryptography - dnspython elementpath - eventlet extruct feedgen flask @@ -39,45 +39,62 @@ python3.pkgs.buildPythonApplication rec { flask-login flask-paginate flask-restful + flask-socketio flask-wtf + gevent greenlet inscriptis + janus jinja2 jinja2-time - jsonpath-ng jq + jsonpath-ng + jsonschema + levenshtein loguru lxml + openapi-core + openpyxl paho-mqtt - playwright - pyee - pyppeteer + panzi-json-logic + pluggy + price-parser + psutil + pyppeteer-ng + # pyppeteerstealth + python-engineio + python-magic + python-socketio pytz + referencing requests + requests-file selenium - setuptools timeago - urllib3 + tzdata validators werkzeug wtforms ] - ++ requests.optional-dependencies.socks; + ++ requests.optional-dependencies.socks + ++ openapi-core.optional-dependencies.flask; # tests can currently not be run in one pytest invocation and without docker doCheck = false; - nativeCheckInputs = with python3.pkgs; [ - pytest-flask - pytestCheckHook - ]; + pythonImportsCheck = [ "changedetectionio" ]; - meta = with lib; { + passthru.updateScript = gitUpdater { }; + + meta = { description = "Self-hosted free open source website change detection tracking, monitoring and notification service"; homepage = "https://github.com/dgtlmoon/changedetection.io"; changelog = "https://github.com/dgtlmoon/changedetection.io/releases/tag/${src.tag}"; - license = licenses.asl20; - maintainers = with maintainers; [ mikaelfangel ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ + mikaelfangel + thanegill + ]; mainProgram = "changedetection.io"; }; }