depot/third_party/tvl/nix/buildGo/proto.nix
Luke Granger-Brown 4f3356727a go/trains: use protos for defining the web API
This will probably be useful later when I make the web app...
2021-11-20 19:06:43 +00:00

14 lines
307 B
Nix

# Copyright 2019 Google LLC.
# SPDX-License-Identifier: Apache-2.0
#
# This file provides derivations for the dependencies of a gRPC
# service in Go.
{ gopkgs }:
let
inherit (builtins) fetchGit map;
in rec {
goProto = gopkgs."google.golang.org".protobuf;
goGrpc = gopkgs."google.golang.org".grpc;
}