Skip to content

Commit

Permalink
chatterino{2,7}: pin boost to 1.86
Browse files Browse the repository at this point in the history
Upstream already released a patch[^1], but it's not yet released.
It modifies submodules so it's difficult to apply, so we just use boost
1.86 until a new release is made.

[^1]: Chatterino/chatterino2@ec728f3
  • Loading branch information
NyCodeGHG committed Jan 22, 2025
1 parent 9cdbbbd commit 2a6ca48
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 34 deletions.
74 changes: 40 additions & 34 deletions pkgs/by-name/ch/chatterino2/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,48 @@
callPackage,
fetchFromGitHub,
nix-update-script,
boost186,
}:

(callPackage ./common.nix { }).overrideAttrs (finalAttrs: _: {
pname = "chatterino2";
version = "2.5.2";
(callPackage ./common.nix {
boost = boost186;
}).overrideAttrs
(
finalAttrs: _: {
pname = "chatterino2";
version = "2.5.2";

src = fetchFromGitHub {
owner = "Chatterino";
repo = "chatterino2";
tag = "v${finalAttrs.version}";
hash = "sha256-nrw4dQ7QjPPMbZXMC+p3VgUQKwc1ih6qS13D9+9oNuw=";
fetchSubmodules = true;
};
src = fetchFromGitHub {
owner = "Chatterino";
repo = "chatterino2";
tag = "v${finalAttrs.version}";
hash = "sha256-nrw4dQ7QjPPMbZXMC+p3VgUQKwc1ih6qS13D9+9oNuw=";
fetchSubmodules = true;
};

passthru = {
buildChatterino = args: callPackage ./common.nix args;
updateScript = nix-update-script { };
};
passthru = {
buildChatterino = args: callPackage ./common.nix args;
updateScript = nix-update-script { };
};

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; [
rexim
supa
marie
];
};
})
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; [
rexim
supa
marie
];
};
}
)
2 changes: 2 additions & 0 deletions pkgs/by-name/ch/chatterino7/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
chatterino2,
fetchFromGitHub,
nix-update-script,
boost186,
}:

(chatterino2.buildChatterino {
enableAvifSupport = true;
boost = boost186;
}).overrideAttrs
(
finalAttrs: _: {
Expand Down

0 comments on commit 2a6ca48

Please sign in to comment.