Commit 8bef5b59 authored by Thane Gill's avatar Thane Gill
Browse files

changedetection-io: 0.49.4 -> 0.50.14



Apply suggestion from @uninsane

Co-authored-by: default avatarColin <accounts.github@uninsane.org>
parent 682d91c1
Loading
Loading
Loading
Loading
+36 −19
Original line number Diff line number Diff line
@@ -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
      babel
      beautifulsoup4
      blinker
      brotli
      babel
      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" ];

  passthru.updateScript = gitUpdater { };

  meta = with lib; {
  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";
  };
}