supabase-cli: add version test

This commit is contained in:
figsoda 2023-04-25 11:04:23 -04:00
parent 7c222dcc92
commit 2d6a944411

View file

@ -2,6 +2,8 @@
, buildGoModule
, fetchFromGitHub
, installShellFiles
, testers
, supabase-cli
, nix-update-script
}:
@ -38,7 +40,12 @@ buildGoModule rec {
--zsh <($out/bin/supabase completion zsh)
'';
passthru.updateScript = nix-update-script { };
passthru = {
tests.version = testers.testVersion {
package = supabase-cli;
};
updateScript = nix-update-script { };
};
meta = with lib; {
description = "A CLI for interacting with supabase";