2025-04-20 03:18:32 +02:00

53 lines
1.4 KiB
Nix

{
lib,
callPackage,
fetchFromGitHub,
gitUpdater,
boost186,
}:
(callPackage ./common.nix {
boost = boost186;
}).overrideAttrs
(
finalAttrs: _: {
pname = "chatterino2";
version = "2.5.3";
src = fetchFromGitHub {
owner = "Chatterino";
repo = "chatterino2";
tag = "v${finalAttrs.version}";
hash = "sha256-W2sqlqL6aa68aQ3nE161G64x7K7p8iByX03g1dseQbs=";
fetchSubmodules = true;
};
passthru = {
buildChatterino = args: callPackage ./common.nix args;
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 2 is
the second installment of the Twitch chat client series
"Chatterino".
'';
homepage = "https://github.com/Chatterino/chatterino2";
changelog = "https://github.com/Chatterino/chatterino2/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
supa
marie
];
};
}
)