summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssistant <assistant.moetron@gmail.com>2024-09-02 03:11:18 -0400
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-09-06 08:26:01 +0000
commitc202a2eed770e1ec7962f080e59772a25f14f862 (patch)
tree342a43be38e43cc04c3a239785dd15de60a51c44
parent[Backport release-24.05] release-cuda (#339963) (diff)
downloadnixpkgs-c202a2eed770e1ec7962f080e59772a25f14f862.tar.gz
twitch-chat-downloader: update client_id
(cherry picked from commit fccd84a04522aaa8fa65b0a09395a498bd1ed11d)
-rw-r--r--pkgs/applications/misc/twitch-chat-downloader/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/misc/twitch-chat-downloader/default.nix b/pkgs/applications/misc/twitch-chat-downloader/default.nix
index 922c925cbb0c..ffe1ddc9c220 100644
--- a/pkgs/applications/misc/twitch-chat-downloader/default.nix
+++ b/pkgs/applications/misc/twitch-chat-downloader/default.nix
@@ -20,6 +20,13 @@ buildPythonApplication rec {
hash = "sha256-mV60ygrtQa9ZkJ2CImhAV59ckCJ7vJSA9cWkYE2xo1M=";
};
+ postPatch = ''
+ # Update client ID for Twitch changes
+ # See: <https://github.com/TheDrHax/Twitch-Chat-Downloader/pull/16>
+ substituteInPlace tcd/example.settings.json \
+ --replace-fail jzkbprff40iqj646a697cyrvl0zt2m6 kd1unb4b3q4t58fwlpcbzcbnm76a8fp
+ '';
+
propagatedBuildInputs = [
iso8601
progressbar2