Merge pull request #207156 from Gerschtli/update/supabase-cli

supabase-cli: 1.27.0 -> 1.27.4
This commit is contained in:
Bobby Rong 2022-12-22 20:12:23 +08:00 committed by GitHub
commit 649b2989af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,17 +2,18 @@
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
, nix-update-script
}: }:
buildGoModule rec { buildGoModule rec {
pname = "supabase-cli"; pname = "supabase-cli";
version = "1.27.0"; version = "1.27.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "supabase"; owner = "supabase";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-gAfgqOeJ1cQ5Igxcut0FXkzhK38Q/mUTXfFaZE0dNCs="; sha256 = "sha256-pF94rGVWhW0KIoSHijkqsoMkzrNd21ncGU+PKqffkZU=";
}; };
vendorSha256 = "sha256-RO9dZP236Kt8SSpZFF7KRksrjgwiEkPxE5DIMUK69Kw="; vendorSha256 = "sha256-RO9dZP236Kt8SSpZFF7KRksrjgwiEkPxE5DIMUK69Kw=";
@ -33,6 +34,10 @@ buildGoModule rec {
--zsh <($out/bin/supabase completion zsh) --zsh <($out/bin/supabase completion zsh)
''; '';
passthru.updateScript = nix-update-script {
attrPath = "supabase-cli";
};
meta = with lib; { meta = with lib; {
description = "A CLI for interacting with supabase"; description = "A CLI for interacting with supabase";
homepage = "https://github.com/supabase/cli"; homepage = "https://github.com/supabase/cli";