about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/twitch-tui
diff options
context:
space:
mode:
authorTaha <tgharib@users.noreply.github.com>2022-07-21 17:43:06 -0400
committerFranz Pletz <fpletz@fnordicwalking.de>2022-08-05 07:07:42 +0200
commitd20fae6ff891ea01ed21bd8aac372670b0851ca0 (patch)
tree4d29ce5bdef34a7906d257bd05b168fe2a348079 /pkgs/applications/networking/instant-messengers/twitch-tui
parent93b3eb81f4236cc0e2413946cf8024bcc4e383a8 (diff)
twitch-tui: init at 1.6.0
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/twitch-tui')
-rw-r--r--pkgs/applications/networking/instant-messengers/twitch-tui/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix b/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix
new file mode 100644
index 0000000000000..ec9df5ec10dd7
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix
@@ -0,0 +1,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 ];
+  };
+}