diff --git a/pkgs/by-name/sp/sptlrx/package.nix b/pkgs/by-name/sp/sptlrx/package.nix index b385898202c2..391ebb01a457 100644 --- a/pkgs/by-name/sp/sptlrx/package.nix +++ b/pkgs/by-name/sp/sptlrx/package.nix @@ -2,19 +2,26 @@ buildGoModule rec { pname = "sptlrx"; - version = "1.1.0"; + version = "1.2.2"; src = fetchFromGitHub { owner = "raitonoberu"; repo = pname; rev = "v${version}"; - hash = "sha256-6GbefTWrhH6RdASmSrugd4xESkwqFVF5qwFmf0JUDTY="; + hash = "sha256-b8ALhEjolH0RH+I9HVQeOagPBi2isLNUxqKdj5u2O9s="; }; - vendorHash = "sha256-Ll5jUjpx4165BAE86/z95i4xa8fdKlfxqrUc/gDLqJ0="; + vendorHash = "sha256-pExSQcYjqliZZg/91t52yk6UJ4QCbpToMpONIFUNkwc="; ldflags = [ "-s" "-w" ]; + checkFlags = + let + # Requires network access + skippedTests = [ "TestGetIndex" ]; + in + [ "-skip=^${lib.concatStringsSep "$|^" skippedTests}$" ]; + passthru = { updateScript = nix-update-script { }; tests.version = testers.testVersion { @@ -26,7 +33,8 @@ buildGoModule rec { meta = with lib; { description = "Spotify lyrics in your terminal"; homepage = "https://github.com/raitonoberu/sptlrx"; - changelog = "https://github.com/raitonoberu/sptlrx/releases/tag/v${version}"; + changelog = + "https://github.com/raitonoberu/sptlrx/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ MoritzBoehme ]; mainProgram = "sptlrx";