pinact: 1.0.0 -> 1.1.2 and set CGO_ENABLED=0 (#368078)
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / twitch-tui / default.nix
blob78056a158532d1e83283016a0ef58fb6200f7981
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   rustPlatform,
6   pkg-config,
7   openssl,
8   CoreServices,
9   Security,
10   SystemConfiguration,
13 rustPlatform.buildRustPackage rec {
14   pname = "twitch-tui";
15   version = "2.6.18";
17   src = fetchFromGitHub {
18     owner = "Xithrius";
19     repo = pname;
20     tag = "v${version}";
21     hash = "sha256-uo9QEwSRIJKjWza8dEQXDCMQ/ydKBk/BX2TaVhX+k1M=";
22   };
24   cargoHash = "sha256-QYT5Aqwl2m/+SZlw55Ep3dIfmESSNowN30JJ52mY/Lk=";
26   nativeBuildInputs = [
27     pkg-config
28   ];
30   buildInputs =
31     [
32       openssl
33     ]
34     ++ lib.optionals stdenv.hostPlatform.isDarwin [
35       CoreServices
36       Security
37       SystemConfiguration
38     ];
40   meta = with lib; {
41     description = "Twitch chat in the terminal";
42     homepage = "https://github.com/Xithrius/twitch-tui";
43     changelog = "https://github.com/Xithrius/twitch-tui/releases/tag/v${version}";
44     license = licenses.mit;
45     maintainers = [ maintainers.taha ];
46     mainProgram = "twt";
47   };