depot/third_party/gopkgs/github.com/jackc/pgx/v4/default.nix

23 lines
831 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "github.com/jackc/pgx/v4";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "jackc";
repo = "pgx";
rev = "2a8ae6f269e17c44d25cd0f713eaa6356547206e";
sha256 = "13bfd0wm2h821z5nlgz8i4mgwzj57ggdjd2qli9ys8g53jb84avw";
};
deps = [
depot.third_party.gopkgs."github.com".jackc.pgconn
depot.third_party.gopkgs."github.com".jackc.pgconn.stmtcache
depot.third_party.gopkgs."github.com".jackc.pgio
depot.third_party.gopkgs."github.com".jackc.pgproto3.v2
depot.third_party.gopkgs."github.com".jackc.pgtype
depot.third_party.gopkgs."github.com".jackc.puddle
depot.third_party.gopkgs."golang.org".x.xerrors
];
}