1 { stdenv, lib, cmake, pkg-config, fetchFromGitHub, qt6, boost, openssl, libsecret }:
3 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
10 hash = "sha256-c3Vhzes54xLjKV0Of7D1eFpQvIWJwcUBXvLT2p6VwBE=";
11 fetchSubmodules = true;
13 nativeBuildInputs = [ cmake pkg-config qt6.wrapQtAppsHook ];
23 ] ++ lib.optionals stdenv.hostPlatform.isLinux [
26 cmakeFlags = [ "-DBUILD_WITH_QT6=ON" ];
27 postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
28 mkdir -p "$out/Applications"
29 mv bin/chatterino.app "$out/Applications/"
31 mkdir -p $out/share/icons/hicolor/256x256/apps
32 cp $src/resources/icon.png $out/share/icons/hicolor/256x256/apps/chatterino.png
35 description = "Chat client for Twitch chat";
36 mainProgram = "chatterino";
38 Chatterino is a chat client for Twitch chat. It aims to be an
39 improved/extended version of the Twitch web chat. Chatterino 2 is
40 the second installment of the Twitch chat client series
43 homepage = "https://github.com/Chatterino/chatterino2";
44 changelog = "https://github.com/Chatterino/chatterino2/blob/master/CHANGELOG.md";
45 license = licenses.mit;
46 platforms = platforms.unix;
47 maintainers = with maintainers; [ rexim supa ];