ticker: init passthru.tests.version
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
ticker,
|
||||
testers,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -26,6 +28,12 @@ buildGoModule rec {
|
||||
# Tests require internet
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = ticker;
|
||||
command = "ticker --version";
|
||||
inherit version;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal stock ticker with live updates and position tracking";
|
||||
homepage = "https://github.com/achannarasappa/ticker";
|
||||
|
||||
Reference in New Issue
Block a user