summaryrefslogtreecommitdiff
path: root/pkgs/by-name/ch/chatterino2/package.nix
blob: cd22b02ec183528d51c68495845442eda22937e4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  lib,
  callPackage,
  fetchFromGitHub,
  nix-update-script,
  boost186,
}:

(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;
      };

      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; [
          supa
          marie
        ];
      };
    }
  )