2023-04-14 20:15:12 -04:00
|
|
|
{
|
|
|
|
stdenv,
|
2023-05-25 15:03:52 -04:00
|
|
|
lib,
|
2023-10-24 23:41:54 -04:00
|
|
|
cmake,
|
|
|
|
pkg-config,
|
|
|
|
fetchFromGitHub,
|
|
|
|
qtbase,
|
|
|
|
qtsvg,
|
|
|
|
qtmultimedia,
|
|
|
|
qtimageformats,
|
|
|
|
qttools,
|
|
|
|
boost,
|
|
|
|
openssl,
|
|
|
|
wrapQtAppsHook,
|
|
|
|
libsecret,
|
2023-04-14 20:15:12 -04:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "chatterino7";
|
2023-09-28 22:15:21 -04:00
|
|
|
version = "7.4.6";
|
2023-10-24 23:41:54 -04:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-04-14 20:15:12 -04:00
|
|
|
owner = "SevenTV";
|
|
|
|
repo = pname;
|
2024-01-05 14:44:11 -05:00
|
|
|
rev = "7eef663cc3e1e863011b6d0eb377e64f9478b673";
|
|
|
|
sha256 = "sha256-5Zvjf2nohKK/ykF2VFYVjsPpgj7/xWyL2fa/L1iphbk=";
|
2023-04-14 20:15:12 -04:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2023-10-24 23:41:54 -04:00
|
|
|
|
2024-02-08 12:04:15 -05:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtsvg
|
|
|
|
qtmultimedia
|
|
|
|
qtimageformats
|
|
|
|
qttools
|
|
|
|
boost
|
|
|
|
openssl
|
|
|
|
libsecret
|
|
|
|
];
|
2023-10-24 23:41:54 -04:00
|
|
|
|
|
|
|
postInstall =
|
2023-04-23 17:45:37 -04:00
|
|
|
''
|
|
|
|
mkdir -p "$out/bin"
|
2023-05-25 15:03:52 -04:00
|
|
|
cp "bin/chatterino" "$out/bin"
|
2023-04-23 17:45:37 -04:00
|
|
|
''
|
|
|
|
+ ''
|
|
|
|
mkdir -p $out/share/icons/hicolor/256x256/apps
|
|
|
|
cp $src/resources/icon.png $out/share/icons/hicolor/256x256/apps/chatterino.png
|
|
|
|
'';
|
2023-05-25 15:03:52 -04:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Chat client for twitch.tv";
|
2023-10-24 23:41:54 -04:00
|
|
|
longDescription = ''
|
|
|
|
Chatterino7 is a fork of Chatterino 2.
|
|
|
|
This fork mainly contains features that aren't accepted into Chatterino 2,
|
|
|
|
most notably 7TV subscriber features.
|
|
|
|
'';
|
2023-05-25 15:03:52 -04:00
|
|
|
homepage = "https://github.com/SevenTV/chatterino7";
|
|
|
|
license = licenses.mit;
|
2024-02-08 12:04:15 -05:00
|
|
|
maintainers = with maintainers; [ notohh ];
|
2023-05-25 15:03:52 -04:00
|
|
|
};
|
2023-04-23 17:45:37 -04:00
|
|
|
}
|