Files
nixpkgs/pkgs/by-name/ch/chatterino7/package.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

54 lines
1.5 KiB
Nix

{
lib,
chatterino2,
fetchFromGitHub,
gitUpdater,
}:
(chatterino2.buildChatterino {
enableAvifSupport = true;
}).overrideAttrs
(
finalAttrs: _: {
pname = "chatterino7";
version = "7.5.4";
src = fetchFromGitHub {
owner = "SevenTV";
repo = "chatterino7";
tag = "v${finalAttrs.version}";
hash = "sha256-zA198AIFIRx4qE5MZwrGOFFrpnVrZMVQx1SX0RJpDo4=";
fetchSubmodules = true;
leaveDotGit = true;
postFetch = ''
git -C $out rev-parse --short HEAD > $out/GIT_HASH
find "$out" -name .git -print0 | xargs -0 rm -rf
'';
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = "beta";
};
meta = {
description = "Chat client for Twitch chat";
mainProgram = "chatterino";
longDescription = ''
Chatterino is a chat client for Twitch chat. It aims to be an
improved/extended version of the Twitch web chat. Chatterino 7 is
a fork of Chatterino 2, which contains additional 7TV features
not found in Chatterino 2.
'';
homepage = "https://github.com/SevenTV/chatterino7";
changelog = "https://github.com/SevenTV/chatterino7/blob/${finalAttrs.src.rev}/CHANGELOG.c7.md";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
marie
supa
];
};
}
)