go-musicfox: 4.5.3 -> 4.5.7 (#357857)

This commit is contained in:
Pol Dellaiera 2024-11-24 09:32:04 +01:00 committed by GitHub
commit bf756576eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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