depot/go/trains/cmd/db2web/default.nix
Luke Granger-Brown 7af28f3ef5 go/trains: split summarizeService into its own package
It might come in handy when sending push notifications to devices...
2021-11-20 19:12:47 +00:00

18 lines
495 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.program {
name = "db2web";
srcs = [ ./db2web.go ];
deps = with depot.third_party; [
gopkgs."github.com".jackc.pgx.v4
gopkgs."github.com".jackc.pgx.v4.pgxpool
gopkgs."google.golang.org".protobuf.encoding.protojson
gopkgs."golang.org".x.sync.errgroup
depot.go.trains.webapi
depot.go.trains.webapi.summarize
];
}