Merge pull request #260653 from Aleksanaa/go-musicfox

go-musicfox: 4.1.4 -> 4.2.1
This commit is contained in:
Nick Cao 2023-10-12 11:30:11 -04:00 committed by GitHub
commit 7a69628c37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ lib
, buildGoModule
, buildGo121Module
, fetchFromGitHub
, pkg-config
, alsa-lib
@ -7,27 +7,27 @@
, nix-update-script
}:
buildGoModule rec {
buildGo121Module rec {
pname = "go-musicfox";
version = "4.1.4";
version = "4.2.1";
src = fetchFromGitHub {
owner = "go-musicfox";
repo = pname;
rev = "v${version}";
hash = "sha256-z4zyLHflmaX5k69KvPTISRIEHVjDmEGZenNXfYd3UUk=";
hash = "sha256-yl7PirSt4zEy8ZoDGq3dn5TjJtbJeAgXgbynw/D0d38=";
};
deleteVendor = true;
vendorHash = "sha256-S1OIrcn55wm/b7B3lz55guuS+mrv5MswNMO2UyfgjRc=";
vendorHash = "sha256-ILO4v4ii1l9JokXG7R3vuN7i5hDi/hLHTFiClA2vdf0=";
subPackages = [ "cmd/musicfox.go" ];
ldflags = [
"-s"
"-w"
"-X github.com/go-musicfox/go-musicfox/pkg/constants.AppVersion=${version}"
"-X github.com/go-musicfox/go-musicfox/internal/types.AppVersion=${version}"
];
nativeBuildInputs = [