2021-01-17 02:09:27 +00:00
|
|
|
{ mkDerivation, stdenv, lib, pkg-config, fetchFromGitHub, qtbase, qtsvg, qtmultimedia, qmake, boost, openssl, wrapQtAppsHook }:
|
2019-05-10 23:31:30 +01:00
|
|
|
|
2020-01-22 15:05:34 +00:00
|
|
|
mkDerivation rec {
|
2019-05-10 23:31:30 +01:00
|
|
|
pname = "chatterino2";
|
2021-09-25 20:26:47 +01:00
|
|
|
version = "2.3.4";
|
2019-05-10 23:31:30 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-09-13 16:57:12 +01:00
|
|
|
owner = "Chatterino";
|
2019-05-10 23:31:30 +01:00
|
|
|
repo = pname;
|
2020-05-21 16:48:57 +01:00
|
|
|
rev = "v${version}";
|
2021-09-25 20:26:47 +01:00
|
|
|
sha256 = "sha256-ZmUM56+YNH98J3XE/mWOOIfb0qBld2n4iuHpImbrU4o=";
|
2019-05-10 23:31:30 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ qmake pkg-config wrapQtAppsHook ];
|
2019-05-10 23:31:30 +01:00
|
|
|
buildInputs = [ qtbase qtsvg qtmultimedia boost openssl ];
|
2020-02-02 01:53:55 +00:00
|
|
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
|
|
|
mkdir -p "$out/Applications"
|
|
|
|
mv bin/chatterino.app "$out/Applications/"
|
|
|
|
'';
|
2020-01-22 15:05:34 +00:00
|
|
|
meta = with lib; {
|
2019-05-10 23:31:30 +01:00
|
|
|
description = "A chat client for Twitch chat";
|
|
|
|
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".
|
2020-09-13 16:57:12 +01:00
|
|
|
'';
|
|
|
|
homepage = "https://github.com/Chatterino/chatterino2";
|
|
|
|
changelog = "https://github.com/Chatterino/chatterino2/blob/master/CHANGELOG.md";
|
2019-05-10 23:31:30 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ rexim ];
|
|
|
|
};
|
|
|
|
}
|