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 1 { lib 2 2 , buildPythonApplication 3 3 , fetchPypi 4 + , iso8601 5 + , progressbar2 4 6 , requests 5 - , twitch-python 6 - , pytz 7 - , python-dateutil 8 7 }: 9 8 10 9 buildPythonApplication rec { 11 10 pname = "twitch-chat-downloader"; 12 - version = "3.2.2"; 11 + version = "2.5.3"; 13 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 14 16 src = fetchPypi { 15 17 inherit version; 16 - pname = "tcd"; 17 - sha256 = "ee6a8e22c54ccfd29988554b13fe56b2a1bf524e110fa421d77e27baa8dcaa19"; 18 + pname = "tdh-tcd"; 19 + sha256 = "sha256-dvj0HoF/2n5aQGMOD8UYY4EZegQwThPy1XJFvXyRT4Q="; 18 20 }; 19 21 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 ]; 22 + propagatedBuildInputs = [ 23 + iso8601 24 + progressbar2 25 + requests 26 + ]; 31 27 32 28 doCheck = false; # no tests 33 29 ··· 35 31 36 32 meta = with lib; { 37 33 description = "Twitch Chat Downloader"; 38 - homepage = "https://github.com/PetterKraabol/Twitch-Chat-Downloader"; 34 + homepage = "https://github.com/TheDrHax/Twitch-Chat-Downloader"; 39 35 license = licenses.mit; 40 36 maintainers = with maintainers; [ marsam ]; 41 37 };