Skip to content

Commit

Permalink
[Backport release-24.11] go-musicfox: 4.5.3 -> 4.5.7 (#358645)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Nov 24, 2024
2 parents 12d7013 + 2497a3f commit 829346c
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions pkgs/by-name/go/go-musicfox/package.nix
Original file line number Diff line number Diff line change
@@ -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" ];

Expand All @@ -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
];
};
}

0 comments on commit 829346c

Please sign in to comment.