sish: add version test
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, sish
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -24,6 +26,12 @@ buildGoModule rec {
|
||||
"-X=github.com/antoniomika/sish/cmd.Version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = sish;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "HTTP(S)/WS(S)/TCP Tunnels to localhost";
|
||||
homepage = "https://github.com/antoniomika/sish";
|
||||
|
||||
Reference in New Issue
Block a user