diff options
author | Moritz Böhme <mail@moritzboeh.me> | 2022-05-11 15:57:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 21:57:52 +0800 |
commit | a4022cf3de27d356df8d40c1b9f5b9d00cce543e (patch) | |
tree | 8ea30f204c6fea37c41186e0ef8f0a0d9a45afb7 /pkgs/applications/audio/sptlrx | |
parent | eb6c3e15915322b43641094063118d306c88900f (diff) |
sptlrx: add version test
Diffstat (limited to 'pkgs/applications/audio/sptlrx')
-rw-r--r-- | pkgs/applications/audio/sptlrx/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/audio/sptlrx/default.nix b/pkgs/applications/audio/sptlrx/default.nix index 2ec9562c62021..ffe4741d179b0 100644 --- a/pkgs/applications/audio/sptlrx/default.nix +++ b/pkgs/applications/audio/sptlrx/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, testers, sptlrx }: buildGoModule rec { pname = "sptlrx"; @@ -15,6 +15,12 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; + passthru.tests.version = testers.testVersion { + package = sptlrx; + # TODO Wrong version in `0.2.0`. Has been fixed upstream. + version = "v0.1.0"; + }; + meta = with lib; { description = "Spotify lyrics in your terminal"; homepage = "https://github.com/raitonoberu/sptlrx"; |