2022-10-17 20:14:51 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
|
|
|
}:
|
2023-10-15 09:40:56 +02:00
|
|
|
|
2023-03-10 22:38:47 +03:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2022-10-17 20:14:51 +02:00
|
|
|
pname = "changedetection-io";
|
2025-04-17 21:32:36 +02:00
|
|
|
version = "0.49.4";
|
2022-10-17 20:14:51 +02:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dgtlmoon";
|
|
|
|
repo = "changedetection.io";
|
2024-12-07 13:58:51 +00:00
|
|
|
tag = version;
|
2025-04-17 21:32:36 +02:00
|
|
|
hash = "sha256-EmtJ8XXPb75W4VPj4Si9fdzVLDKVfm+8P6UZZlMpMdI=";
|
2022-10-17 20:14:51 +02:00
|
|
|
};
|
|
|
|
|
2024-11-04 00:22:03 +01:00
|
|
|
pythonRelaxDeps = true;
|
2022-10-17 20:14:51 +02:00
|
|
|
|
2023-03-10 22:38:47 +03:00
|
|
|
propagatedBuildInputs =
|
|
|
|
with python3.pkgs;
|
|
|
|
[
|
2022-11-28 03:31:03 +01:00
|
|
|
apprise
|
|
|
|
beautifulsoup4
|
|
|
|
brotli
|
2024-09-08 15:02:46 +02:00
|
|
|
babel
|
2022-11-28 03:31:03 +01:00
|
|
|
chardet
|
|
|
|
cryptography
|
2023-03-10 22:38:47 +03:00
|
|
|
dnspython
|
2024-08-27 21:02:08 +02:00
|
|
|
elementpath
|
2022-10-17 20:14:51 +02:00
|
|
|
eventlet
|
2025-05-10 20:35:34 +10:00
|
|
|
extruct
|
2022-10-17 20:14:51 +02:00
|
|
|
feedgen
|
2022-11-28 03:31:03 +01:00
|
|
|
flask
|
2023-03-10 22:38:47 +03:00
|
|
|
flask-compress
|
2024-03-14 08:26:34 +01:00
|
|
|
flask-cors
|
2023-03-10 22:38:47 +03:00
|
|
|
flask-expects-json
|
2022-10-17 20:14:51 +02:00
|
|
|
flask-login
|
2023-10-13 17:37:27 +02:00
|
|
|
flask-paginate
|
2022-10-17 20:14:51 +02:00
|
|
|
flask-restful
|
2022-11-28 03:31:03 +01:00
|
|
|
flask-wtf
|
2024-06-30 22:43:11 +02:00
|
|
|
greenlet
|
2022-11-28 03:31:03 +01:00
|
|
|
inscriptis
|
2022-11-08 01:22:06 +01:00
|
|
|
jinja2
|
|
|
|
jinja2-time
|
2022-10-17 20:14:51 +02:00
|
|
|
jsonpath-ng
|
|
|
|
jq
|
2024-01-06 19:36:24 +01:00
|
|
|
loguru
|
2022-10-17 20:14:51 +02:00
|
|
|
lxml
|
2022-11-28 03:31:03 +01:00
|
|
|
paho-mqtt
|
|
|
|
playwright
|
2024-03-14 08:26:34 +01:00
|
|
|
pyee
|
|
|
|
pyppeteer
|
2022-11-28 03:31:03 +01:00
|
|
|
pytz
|
|
|
|
requests
|
2022-10-17 20:14:51 +02:00
|
|
|
selenium
|
2022-11-28 03:31:03 +01:00
|
|
|
setuptools
|
|
|
|
timeago
|
|
|
|
urllib3
|
|
|
|
validators
|
2022-10-17 20:14:51 +02:00
|
|
|
werkzeug
|
2022-11-28 03:31:03 +01:00
|
|
|
wtforms
|
2022-10-17 20:14:51 +02:00
|
|
|
]
|
|
|
|
++ requests.optional-dependencies.socks;
|
|
|
|
|
|
|
|
# tests can currently not be run in one pytest invocation and without docker
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-03-10 22:38:47 +03:00
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
2022-10-17 20:14:51 +02:00
|
|
|
pytest-flask
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-10-15 09:42:51 +02:00
|
|
|
description = "Self-hosted free open source website change detection tracking, monitoring and notification service";
|
2022-10-17 20:14:51 +02:00
|
|
|
homepage = "https://github.com/dgtlmoon/changedetection.io";
|
2025-02-15 23:11:02 +00:00
|
|
|
changelog = "https://github.com/dgtlmoon/changedetection.io/releases/tag/${src.tag}";
|
2022-10-17 20:14:51 +02:00
|
|
|
license = licenses.asl20;
|
2023-11-10 20:31:21 +01:00
|
|
|
maintainers = with maintainers; [ mikaelfangel ];
|
2024-01-06 19:36:24 +01:00
|
|
|
mainProgram = "changedetection.io";
|
2022-10-17 20:14:51 +02:00
|
|
|
};
|
|
|
|
}
|