sptlrx: add version test
This commit is contained in:
parent
eb6c3e1591
commit
a4022cf3de
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, testers, sptlrx }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "sptlrx";
|
pname = "sptlrx";
|
||||||
@ -15,6 +15,12 @@ buildGoModule rec {
|
|||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
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; {
|
meta = with lib; {
|
||||||
description = "Spotify lyrics in your terminal";
|
description = "Spotify lyrics in your terminal";
|
||||||
homepage = "https://github.com/raitonoberu/sptlrx";
|
homepage = "https://github.com/raitonoberu/sptlrx";
|
||||||
|
Loading…
Reference in New Issue
Block a user