From 028621ae98e7dc2d4c62e9a1b3fa99e2c478ad05 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Sep 2025 02:13:10 +0000 Subject: [PATCH 1/2] supersonic: 0.18.0 -> 0.18.1 --- pkgs/by-name/su/supersonic/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/su/supersonic/package.nix b/pkgs/by-name/su/supersonic/package.nix index 2cc505839905..88e04130a5f5 100644 --- a/pkgs/by-name/su/supersonic/package.nix +++ b/pkgs/by-name/su/supersonic/package.nix @@ -18,16 +18,16 @@ buildGoModule rec { pname = "supersonic" + lib.optionalString waylandSupport "-wayland"; - version = "0.18.0"; + version = "0.18.1"; src = fetchFromGitHub { owner = "dweymouth"; repo = "supersonic"; rev = "v${version}"; - hash = "sha256-/8GFrMQvr2dXtK5Cyi5mc+9wxJ95jCzkpZ2Xk6ULrp8="; + hash = "sha256-NzgmkxG58XvaxcIcu9J0VeRjCQ922rJOp3IWX49dgIU="; }; - vendorHash = "sha256-C610AlCpY7hpW4AQbT9HYaRxJdLmpqgQbi5mIsdSTrM="; + vendorHash = "sha256-dG5D7a13TbVurjqFbKwiZ5IOPul39sCmyPCCzRx0NEY="; nativeBuildInputs = [ copyDesktopItems 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 2/2] 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 ];