diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-15 13:20:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 13:20:14 +0200 |
commit | 9376ef9de720bf4d97475a97da5c8d9d4c879c35 (patch) | |
tree | 18f4b54e60ce10aa347e498f4a31e1068d93175c /pkgs/applications/video/go2tv | |
parent | fe3e468d093128a4a04a756e70bebc1b07ada5d3 (diff) |
go2tv: refactor
- add changelog to meta
Diffstat (limited to 'pkgs/applications/video/go2tv')
-rw-r--r-- | pkgs/applications/video/go2tv/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/video/go2tv/default.nix b/pkgs/applications/video/go2tv/default.nix index 6be1c34a7431d..6837572cd9f03 100644 --- a/pkgs/applications/video/go2tv/default.nix +++ b/pkgs/applications/video/go2tv/default.nix @@ -19,8 +19,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "alexballas"; repo = "go2tv"; - rev = "v${version}"; - sha256 = "sha256-7m5GikrdcrJyl+KYuSk1JWLW2SsHOcBJNJuq2BahxHc="; + rev = "refs/tags/v${version}"; + hash = "sha256-7m5GikrdcrJyl+KYuSk1JWLW2SsHOcBJNJuq2BahxHc="; }; vendorHash = "sha256-na79rF/9o+s6E4i08Ocs6u98IABc19sTGFvjI6yeJFo="; @@ -39,7 +39,8 @@ buildGoModule rec { ] ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa Kernel UserNotifications ]; ldflags = [ - "-s" "-w" + "-s" + "-w" "-linkmode=external" ]; @@ -51,6 +52,7 @@ buildGoModule rec { meta = with lib; { description = "Cast media files to UPnP/DLNA Media Renderers and Smart TVs"; homepage = "https://github.com/alexballas/go2tv"; + changelog = "https://github.com/alexballas/go2tv/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ gdamjan ]; mainProgram = "go2tv"; |