1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

gotrue-supabase: init at 2.35.0

Fixes #170203
This commit is contained in:
Colin Arnott 2022-11-29 22:07:13 +00:00
parent 84b56a8559
commit d28784e5d3
No known key found for this signature in database
GPG key ID: 0447A663F7F3E236
3 changed files with 36 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gotrue";
@ -16,7 +16,7 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X github.com/netlify/gotrue/cmd.Version=${version}"
"-X=github.com/netlify/gotrue/cmd.Version=${version}"
];
# integration tests require network access

View file

@ -0,0 +1,32 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gotrue";
version = "2.35.0";
src = fetchFromGitHub {
owner = "supabase";
repo = pname;
rev = "v${version}";
hash = "sha256-uFE2pcEpGhrl8LcZLvYEMlq8sgRmFkltf3H8huZzXpM=";
};
vendorHash = "sha256-uchgHxUczb4IIUkUdHWyeXWr2LXda6eWwjQxUBcPDoA=";
ldflags = [
"-s"
"-w"
"-X=github.com/netlify/gotrue/utilities.Version=${version}"
];
# integration tests require network to connect to postgres database
doCheck = false;
meta = with lib; {
homepage = "https://github.com/supabase/gotrue";
description = "A JWT based API for managing users and issuing JWT tokens";
changelog = "https://github.com/supabase/gotrue/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ urandom ];
};
}

View file

@ -36647,6 +36647,8 @@ with pkgs;
gotrue = callPackage ../tools/security/gotrue {};
gotrue-supabase = callPackage ../tools/security/gotrue/supabase.nix {};
gowitness = callPackage ../tools/security/gowitness { };
guetzli = callPackage ../applications/graphics/guetzli { };