Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
963 B
Nix
41 lines
963 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "lrcsnc";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Endg4meZer0";
|
|
repo = "lrcsnc";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-gKb0cTpCPlyvJFthV1csn8HaVcUvXq+KC+nTT5sGhww=";
|
|
};
|
|
|
|
vendorHash = "sha256-ww+SXy29woGlb120sj1oGb4MIQJzpBCKGpUKYsYxTMk=";
|
|
|
|
ldflags = [ "-X lrcsnc/internal/setup.version=${finalAttrs.version}" ];
|
|
|
|
# The tests require network access
|
|
doCheck = false;
|
|
|
|
postInstall = ''
|
|
install -Dm644 LICENSE $out/share/licenses/lrcsnc/LICENSE
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Player-agnostic synced lyrics fetcher and displayer";
|
|
homepage = "https://github.com/Endg4meZer0/lrcsnc";
|
|
mainProgram = "lrcsnc";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ lonerOrz ];
|
|
};
|
|
})
|