From 72b7736bfcd8084076cec23e8e62e93a700c407c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 13 Sep 2025 23:00:34 -0700 Subject: [PATCH] supersonic: add meta.changelog --- pkgs/by-name/su/supersonic/package.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/su/supersonic/package.nix b/pkgs/by-name/su/supersonic/package.nix index 88e04130a5f5..c89aa1c23c17 100644 --- a/pkgs/by-name/su/supersonic/package.nix +++ b/pkgs/by-name/su/supersonic/package.nix @@ -23,7 +23,7 @@ buildGoModule rec { src = fetchFromGitHub { owner = "dweymouth"; repo = "supersonic"; - rev = "v${version}"; + tag = "v${version}"; hash = "sha256-NzgmkxG58XvaxcIcu9J0VeRjCQ922rJOp3IWX49dgIU="; }; @@ -88,13 +88,14 @@ buildGoModule rec { }) ]; - meta = with lib; { + meta = { mainProgram = "supersonic" + lib.optionalString waylandSupport "-wayland"; description = "Lightweight cross-platform desktop client for Subsonic music servers"; homepage = "https://github.com/dweymouth/supersonic"; - platforms = platforms.linux ++ lib.optionals (!waylandSupport) platforms.darwin; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ + changelog = "https://github.com/dweymouth/supersonic/releases/tag/${src.tag}"; + platforms = lib.platforms.linux ++ lib.optionals (!waylandSupport) lib.platforms.darwin; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ zane sochotnicky ];