17 lines
488 B
Nix
17 lines
488 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, ... }:
|
|
(depot.third_party.buildGo.proto {
|
|
name = "webapi";
|
|
path = "hg.lukegb.com/lukegb/depot/go/trains/webapi";
|
|
goPackage = "";
|
|
proto = ./webapi.proto;
|
|
extraDeps = with depot.third_party; [
|
|
gopkgs."google.golang.org".protobuf.types.known.timestamppb
|
|
gopkgs."github.com".jackc.pgtype
|
|
];
|
|
}).overrideGo (old: {
|
|
srcs = old.srcs ++ [ ./utils.go ];
|
|
})
|