From 9bc53e1f217c271a47928cf6ab730223a8304e33 Mon Sep 17 00:00:00 2001 From: liberodark Date: Mon, 3 Feb 2025 13:47:49 +0100 Subject: [PATCH] galaxy-buds-client: cleanup --- .../by-name/ga/galaxy-buds-client/package.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ga/galaxy-buds-client/package.nix b/pkgs/by-name/ga/galaxy-buds-client/package.nix index 984283260069..eb16155be2aa 100644 --- a/pkgs/by-name/ga/galaxy-buds-client/package.nix +++ b/pkgs/by-name/ga/galaxy-buds-client/package.nix @@ -11,6 +11,7 @@ makeWrapper, makeDesktopItem, copyDesktopItems, + nix-update-script, }: buildDotnetModule rec { @@ -20,7 +21,7 @@ buildDotnetModule rec { src = fetchFromGitHub { owner = "ThePBone"; repo = "GalaxyBudsClient"; - rev = version; + tag = version; hash = "sha256-ygxrtRapduvK7qAHZzdHnCijm8mcqOviMl2ddf9ge+Y="; }; @@ -71,12 +72,16 @@ buildDotnetModule rec { }) ]; - meta = with lib; { - mainProgram = "GalaxyBudsClient"; - description = "Unofficial Galaxy Buds Manager for Windows and Linux"; + passthru = { + updateScript = nix-update-script { }; + }; + + meta = { + description = "Unofficial Galaxy Buds Manager"; homepage = "https://github.com/ThePBone/GalaxyBudsClient"; - license = licenses.gpl3; - maintainers = [ maintainers.icy-thought ]; - platforms = platforms.linux; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ icy-thought ]; + platforms = lib.platforms.linux; + mainProgram = "GalaxyBudsClient"; }; }