about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/twitch-tui
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-01-07 23:13:10 +0100
committerGitHub <noreply@github.com>2023-01-07 23:13:10 +0100
commit2eb019b74fcb13baf86253b83d3512708d209023 (patch)
treecf48c468dea1e58e62a70715dd76e00372d4bf36 /pkgs/applications/networking/instant-messengers/twitch-tui
parentd526cb1b5e3e23740175e0d446b5fa02464dc2be (diff)
twitch-tui: add changelog to meta
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/twitch-tui')
-rw-r--r--pkgs/applications/networking/instant-messengers/twitch-tui/default.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix b/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix
index 90f59280f8000..6c95c7557eb46 100644
--- a/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix
+++ b/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix
@@ -14,18 +14,26 @@ rustPlatform.buildRustPackage rec {
   src = fetchFromGitHub {
     owner = "Xithrius";
     repo = pname;
-    rev = "v${version}";
-    sha256 = "sha256-4gEE2JCYNxPOV47w/wMRvYn5YJdgvlYl+fkk6qcXLr8=";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-4gEE2JCYNxPOV47w/wMRvYn5YJdgvlYl+fkk6qcXLr8=";
   };
 
-  nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
-
   cargoHash = "sha256-IYk01mueNZu791LPdkB79VaxsFXZbqEFDbpw1ckYTMo=";
 
+  nativeBuildInputs = [
+    pkg-config
+  ];
+
+  buildInputs = [
+    openssl
+  ] ++ lib.optionals stdenv.isDarwin [
+    Security
+  ];
+
   meta = with lib; {
     description = "Twitch chat in the terminal";
     homepage = "https://github.com/Xithrius/twitch-tui";
+    changelog = "https://github.com/Xithrius/twitch-tui/releases/tag/v${version}";
     license = licenses.mit;
     maintainers = [ maintainers.taha ];
   };