sish: add version test

This commit is contained in:
figsoda
2023-07-11 09:38:35 -04:00
parent 8fcc6b7835
commit b3842c2439
+8
View File
@@ -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";