twitch-chat-downloader: migrate to by-name

This commit is contained in:
GraysonTinker
2026-05-06 21:37:36 -07:00
committed by Weijia Wang
parent ad98cd1f18
commit 7a1876a7ad
2 changed files with 8 additions and 13 deletions
@@ -1,16 +1,13 @@
{
lib,
buildPythonApplication,
python3Packages,
fetchFromGitHub,
iso8601,
progressbar2,
requests,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
pname = "twitch-chat-downloader";
version = "2.5.5";
format = "setuptools";
pyproject = true;
# NOTE: Using maintained fork because upstream has stopped working, and it has
# not been updated in a while.
@@ -18,10 +15,12 @@ buildPythonApplication rec {
src = fetchFromGitHub {
owner = "TheDrHax";
repo = "twitch-chat-downloader";
rev = version;
rev = finalAttrs.version;
hash = "sha256-9wIp0uttVBOdexOMb8VvpUEEdZ97SGSlZcFQ4jM/tqM=";
};
build-system = [ python3Packages.setuptools ];
postPatch = ''
# Update client ID for Twitch changes
# See: <https://github.com/TheDrHax/Twitch-Chat-Downloader/pull/16>
@@ -29,7 +28,7 @@ buildPythonApplication rec {
--replace-fail jzkbprff40iqj646a697cyrvl0zt2m6 kd1unb4b3q4t58fwlpcbzcbnm76a8fp
'';
propagatedBuildInputs = [
dependencies = with python3Packages; [
iso8601
progressbar2
requests
@@ -46,4 +45,4 @@ buildPythonApplication rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ assistant ];
};
}
})
-4
View File
@@ -3276,10 +3276,6 @@ with pkgs;
ttfautohint-nox = ttfautohint.override { enableGUI = false; };
twitch-chat-downloader =
python3Packages.callPackage ../applications/misc/twitch-chat-downloader
{ };
uftraceFull = uftrace.override {
withLuaJIT = true;
withPython = true;