gotrue-supabase: 2.44.0 -> 2.47.0

This commit is contained in:
Weijia Wang 2023-02-10 08:27:38 +01:00
parent 59ec2e613f
commit eb8d94f194

View File

@ -1,14 +1,19 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, gotrue-supabase
}:
buildGoModule rec {
pname = "gotrue";
version = "2.44.0";
version = "2.47.0";
src = fetchFromGitHub {
owner = "supabase";
repo = pname;
rev = "v${version}";
hash = "sha256-LSA6h6hs5M80urBasVDWZSCNA3fWxjYjvbPRbHLOX0Y=";
hash = "sha256-ww3tiIIn2Vwhwa5IgkrybnWQQ3beihQhZzB1ysz4y1k=";
};
vendorHash = "sha256-FIl30sKmdcXayK8KWGFl+N+lYExl4ibKZ2tcvelw8zo=";
@ -16,12 +21,18 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X=github.com/netlify/gotrue/utilities.Version=${version}"
"-X=github.com/netlify/gotrue/internal/utilities.Version=${version}"
];
# integration tests require network to connect to postgres database
doCheck = false;
passthru.tests.version = testers.testVersion {
package = gotrue-supabase;
command = "gotrue version";
inherit version;
};
meta = with lib; {
homepage = "https://github.com/supabase/gotrue";
description = "A JWT based API for managing users and issuing JWT tokens";