From 256998d524d3a9ca2f7d2e0b419efbf3813ff57f Mon Sep 17 00:00:00 2001 From: Mikael Fangel <34864484+MikaelFangel@users.noreply.github.com> Date: Fri, 13 Oct 2023 17:37:27 +0200 Subject: [PATCH 1/3] changedetection-io: 0.40.3 -> 0.45.3 --- pkgs/servers/web-apps/changedetection-io/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/web-apps/changedetection-io/default.nix b/pkgs/servers/web-apps/changedetection-io/default.nix index 8c2fcf32252a..3199ce9ce5da 100644 --- a/pkgs/servers/web-apps/changedetection-io/default.nix +++ b/pkgs/servers/web-apps/changedetection-io/default.nix @@ -5,22 +5,22 @@ }: python3.pkgs.buildPythonApplication rec { pname = "changedetection-io"; - version = "0.40.3"; + version = "0.45.3"; format = "setuptools"; src = fetchFromGitHub { owner = "dgtlmoon"; repo = "changedetection.io"; rev = version; - sha256 = "sha256-RYxhkCSL17rU3C4rOArYptmYpdK/CDPw9xfXkKja2xs="; + sha256 = "sha256-QTkkMFGyEGSakvFCiJ36Xr3IiG9K7GDy2dpNGWjUngs="; }; postPatch = '' substituteInPlace requirements.txt \ - --replace "apprise~=1.3.0" "apprise" \ + --replace "apprise~=1.5.0" "apprise" \ --replace "cryptography~=3.4" "cryptography" \ --replace "dnspython<2.3.0" "dnspython" \ - --replace "pytest ~=6.2" "" \ + --replace "pytest ~=7.2" "" \ --replace "pytest-flask ~=1.2" "" \ --replace "selenium~=4.1.0" "selenium" \ --replace "werkzeug~=2.0.0" "werkzeug" @@ -39,6 +39,7 @@ python3.pkgs.buildPythonApplication rec { flask-compress flask-expects-json flask-login + flask-paginate flask-restful flask-wtf inscriptis From 0432ccf6710562a77d86b83d34df38099e75c5e5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 15 Oct 2023 09:40:56 +0200 Subject: [PATCH 2/3] changedetection-io: remove unused input --- pkgs/servers/web-apps/changedetection-io/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/web-apps/changedetection-io/default.nix b/pkgs/servers/web-apps/changedetection-io/default.nix index 3199ce9ce5da..9ba86de2c612 100644 --- a/pkgs/servers/web-apps/changedetection-io/default.nix +++ b/pkgs/servers/web-apps/changedetection-io/default.nix @@ -1,8 +1,8 @@ { lib , fetchFromGitHub -, fetchurl , python3 }: + python3.pkgs.buildPythonApplication rec { pname = "changedetection-io"; version = "0.45.3"; From 567547a0e8d19ca17501ed1cc8316995c5655daa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 15 Oct 2023 09:42:51 +0200 Subject: [PATCH 3/3] changedetection-io: add changelog to meta --- pkgs/servers/web-apps/changedetection-io/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/web-apps/changedetection-io/default.nix b/pkgs/servers/web-apps/changedetection-io/default.nix index 9ba86de2c612..29d8eb1fdfc5 100644 --- a/pkgs/servers/web-apps/changedetection-io/default.nix +++ b/pkgs/servers/web-apps/changedetection-io/default.nix @@ -11,8 +11,8 @@ python3.pkgs.buildPythonApplication rec { src = fetchFromGitHub { owner = "dgtlmoon"; repo = "changedetection.io"; - rev = version; - sha256 = "sha256-QTkkMFGyEGSakvFCiJ36Xr3IiG9K7GDy2dpNGWjUngs="; + rev = "refs/tags/${version}"; + hash = "sha256-QTkkMFGyEGSakvFCiJ36Xr3IiG9K7GDy2dpNGWjUngs="; }; postPatch = '' @@ -71,8 +71,9 @@ python3.pkgs.buildPythonApplication rec { ]; meta = with lib; { + description = "Self-hosted free open source website change detection tracking, monitoring and notification service"; homepage = "https://github.com/dgtlmoon/changedetection.io"; - description = "Simplest self-hosted free open source website change detection tracking, monitoring and notification service"; + changelog = "https://github.com/dgtlmoon/changedetection.io/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ ]; };