1 { lib, buildGoModule, fetchFromGitHub, nix-update-script, testers, sptlrx }:
7 src = fetchFromGitHub {
11 hash = "sha256-6GbefTWrhH6RdASmSrugd4xESkwqFVF5qwFmf0JUDTY=";
14 vendorHash = "sha256-Ll5jUjpx4165BAE86/z95i4xa8fdKlfxqrUc/gDLqJ0=";
16 ldflags = [ "-s" "-w" ];
19 updateScript = nix-update-script { };
20 tests.version = testers.testVersion {
22 version = "v${version}"; # needed because testVersion uses grep -Fw
27 description = "Spotify lyrics in your terminal";
28 homepage = "https://github.com/raitonoberu/sptlrx";
29 changelog = "https://github.com/raitonoberu/sptlrx/releases/tag/v${version}";
30 license = licenses.mit;
31 maintainers = with maintainers; [ MoritzBoehme ];
32 mainProgram = "sptlrx";