Files
nixpkgs/pkgs/applications/video/mpv/scripts/twitch-chat.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
797 B
Nix

{
buildLua,
curl,
fetchFromGitHub,
lib,
nix-update-script,
}:
buildLua {
pname = "twitch-chat";
version = "0-unstable-2025-05-15";
src = fetchFromGitHub {
owner = "CrendKing";
repo = "mpv-twitch-chat";
rev = "4d88ac12c843da0e916b0ed1df4d087a3418501b";
hash = "sha256-owU0F976K4CX0kKYoRbdtz/sqCvd8kw2LqItEgY25gE=";
postFetch = "rm $out/screenshot.webp";
};
scriptPath = ".";
runtime-dependencies = [ curl ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Show Twitch chat messages as subtitles when watching Twitch VOD with mpv";
homepage = "https://github.com/CrendKing/mpv-twitch-chat";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.naho ];
};
}