kool: add version test

This commit is contained in:
figsoda 2023-08-09 09:55:15 -04:00
parent efa532e530
commit 1c5c22ec13

View file

@ -1,6 +1,8 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, kool
}:
buildGoModule rec {
@ -22,6 +24,12 @@ buildGoModule rec {
"-X=kool-dev/kool/commands.version=${version}"
];
passthru.tests = {
version = testers.testVersion {
package = kool;
};
};
meta = with lib; {
description = "From local development to the cloud: development workflow made easy";
homepage = "https://kool.dev";