go-musicfox: 4.5.3 -> 4.5.7 (#357857)
This commit is contained in:
commit
bf756576eb
@ -1,27 +1,28 @@
|
|||||||
{ lib
|
{
|
||||||
, buildGoModule
|
lib,
|
||||||
, fetchFromGitHub
|
buildGoModule,
|
||||||
, pkg-config
|
fetchFromGitHub,
|
||||||
, flac
|
pkg-config,
|
||||||
, stdenv
|
flac,
|
||||||
, alsa-lib
|
stdenv,
|
||||||
, nix-update-script
|
alsa-lib,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "go-musicfox";
|
pname = "go-musicfox";
|
||||||
version = "4.5.3";
|
version = "4.5.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "go-musicfox";
|
owner = "go-musicfox";
|
||||||
repo = "go-musicfox";
|
repo = "go-musicfox";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-qf4XAAfWWlHAnNGhXaYpnjj+2z+/lWOHaTyv8R4UDgQ=";
|
hash = "sha256-x3j+gfPRPkDJq9dF2NZBqvRWhnthQ8Y1TUE6xV0qFVU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
deleteVendor = true;
|
deleteVendor = true;
|
||||||
|
|
||||||
vendorHash = "sha256-oz/kVp/Jj2Lmo19UFOn2VPD/iWbSRCbmKy8fK8RdkYs=";
|
vendorHash = "sha256-ItZMt6LLOQ/ZRBKAGjD72cTzK39l/ffXpXbODm9MCh8=";
|
||||||
|
|
||||||
subPackages = [ "cmd/musicfox.go" ];
|
subPackages = [ "cmd/musicfox.go" ];
|
||||||
|
|
||||||
@ -35,19 +36,25 @@ buildGoModule rec {
|
|||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
|
[
|
||||||
flac
|
flac
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
alsa-lib
|
alsa-lib
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Terminal netease cloud music client written in Go";
|
description = "Terminal netease cloud music client written in Go";
|
||||||
homepage = "https://github.com/anhoder/go-musicfox";
|
homepage = "https://github.com/anhoder/go-musicfox";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
mainProgram = "musicfox";
|
mainProgram = "musicfox";
|
||||||
maintainers = with maintainers; [ zendo Ruixi-rebirth aleksana ];
|
maintainers = with lib.maintainers; [
|
||||||
|
zendo
|
||||||
|
Ruixi-rebirth
|
||||||
|
aleksana
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user