twitch-chat-downloader: switch to maintained fork

Switch to maintained fork because upstream has stopped working.

I did read all the changes made by the fork, and it seems to be safe to
switch.

+14 -18
+14 -18
pkgs/applications/misc/twitch-chat-downloader/default.nix
··· 1 { lib 2 , buildPythonApplication 3 , fetchPypi 4 , requests 5 - , twitch-python 6 - , pytz 7 - , python-dateutil 8 }: 9 10 buildPythonApplication rec { 11 pname = "twitch-chat-downloader"; 12 - version = "3.2.2"; 13 14 src = fetchPypi { 15 inherit version; 16 - pname = "tcd"; 17 - sha256 = "ee6a8e22c54ccfd29988554b13fe56b2a1bf524e110fa421d77e27baa8dcaa19"; 18 }; 19 20 - postPatch = '' 21 - substituteInPlace setup.py \ 22 - --replace "'pipenv==2022.4.30'," "" \ 23 - --replace "setuptools==62.1." "setuptools" \ 24 - --replace "requests==2.27.1" "requests" \ 25 - --replace "twitch-python==0.0.20" "twitch-python" \ 26 - --replace "pytz==2022.1" "pytz" \ 27 - --replace "python-dateutil==2.8.2" "python-dateutil" 28 - ''; 29 - 30 - propagatedBuildInputs = [ requests twitch-python pytz python-dateutil ]; 31 32 doCheck = false; # no tests 33 ··· 35 36 meta = with lib; { 37 description = "Twitch Chat Downloader"; 38 - homepage = "https://github.com/PetterKraabol/Twitch-Chat-Downloader"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ marsam ]; 41 };
··· 1 { lib 2 , buildPythonApplication 3 , fetchPypi 4 + , iso8601 5 + , progressbar2 6 , requests 7 }: 8 9 buildPythonApplication rec { 10 pname = "twitch-chat-downloader"; 11 + version = "2.5.3"; 12 13 + # NOTE: Using maintained fork because upstream has stopped working, and it has 14 + # not been updated in a while. 15 + # https://github.com/PetterKraabol/Twitch-Chat-Downloader/issues/142 16 src = fetchPypi { 17 inherit version; 18 + pname = "tdh-tcd"; 19 + sha256 = "sha256-dvj0HoF/2n5aQGMOD8UYY4EZegQwThPy1XJFvXyRT4Q="; 20 }; 21 22 + propagatedBuildInputs = [ 23 + iso8601 24 + progressbar2 25 + requests 26 + ]; 27 28 doCheck = false; # no tests 29 ··· 31 32 meta = with lib; { 33 description = "Twitch Chat Downloader"; 34 + homepage = "https://github.com/TheDrHax/Twitch-Chat-Downloader"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ marsam ]; 37 };