depot/third_party/gopkgs/github.com/jackc/pgproto3/v2/default.nix

18 lines
562 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/pgproto3/v2";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "jackc";
repo = "pgproto3";
rev = "835cf1b0689d054f58d82f3970d59abae56178dc";
sha256 = "05jk4arv72rhd0qaf8jn4fm6ivb6l7haqbk7c8xjvxmli9sv83yg";
};
deps = [
depot.third_party.gopkgs."github.com".jackc.chunkreader.v2
depot.third_party.gopkgs."github.com".jackc.pgio
];
}