about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix
blob: ec9df5ec10dd7309090a7e11979f90962db6c035 (plain) (blame)
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
{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl }:

rustPlatform.buildRustPackage rec {
  pname = "twitch-tui";
  version = "1.6.0";

  src = fetchFromGitHub {
    owner = "Xithrius";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-144yn/QQPIZJOgqKFUWjB7KCmEKfNpj6XjMGhTpQdEQ=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ];

  cargoHash = "sha256-zUeI01EyXsuoKzHbpVu3jyA3H2aBk6wMY+GW3h3v8vc=";

  meta = with lib; {
    description = "Twitch chat in the terminal";
    homepage = "https://github.com/Xithrius/twitch-tui";
    license = licenses.mit;
    maintainers = [ maintainers.taha ];
  };
}