diff --git a/pkgs/by-name/go/go-musicfox/package.nix b/pkgs/by-name/go/go-musicfox/package.nix index d0da4ce048b1..27508459ed77 100644 --- a/pkgs/by-name/go/go-musicfox/package.nix +++ b/pkgs/by-name/go/go-musicfox/package.nix @@ -1,27 +1,28 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, pkg-config -, flac -, stdenv -, alsa-lib -, nix-update-script +{ + lib, + buildGoModule, + fetchFromGitHub, + pkg-config, + flac, + stdenv, + alsa-lib, + nix-update-script, }: buildGoModule rec { pname = "go-musicfox"; - version = "4.5.3"; + version = "4.5.7"; src = fetchFromGitHub { owner = "go-musicfox"; repo = "go-musicfox"; rev = "v${version}"; - hash = "sha256-qf4XAAfWWlHAnNGhXaYpnjj+2z+/lWOHaTyv8R4UDgQ="; + hash = "sha256-x3j+gfPRPkDJq9dF2NZBqvRWhnthQ8Y1TUE6xV0qFVU="; }; deleteVendor = true; - vendorHash = "sha256-oz/kVp/Jj2Lmo19UFOn2VPD/iWbSRCbmKy8fK8RdkYs="; + vendorHash = "sha256-ItZMt6LLOQ/ZRBKAGjD72cTzK39l/ffXpXbODm9MCh8="; subPackages = [ "cmd/musicfox.go" ]; @@ -35,19 +36,25 @@ buildGoModule rec { pkg-config ]; - buildInputs = [ - flac - ] ++ lib.optionals stdenv.hostPlatform.isLinux [ - alsa-lib - ]; + buildInputs = + [ + flac + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + alsa-lib + ]; passthru.updateScript = nix-update-script { }; - meta = with lib; { + meta = { description = "Terminal netease cloud music client written in Go"; homepage = "https://github.com/anhoder/go-musicfox"; - license = licenses.mit; + license = lib.licenses.mit; mainProgram = "musicfox"; - maintainers = with maintainers; [ zendo Ruixi-rebirth aleksana ]; + maintainers = with lib.maintainers; [ + zendo + Ruixi-rebirth + aleksana + ]; }; }