depot/third_party/gopkgs/google.golang.org/grpc/default.nix
2021-03-31 20:52:05 +00:00

27 lines
984 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "google.golang.org/grpc";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "grpc";
repo = "grpc-go";
rev = "v1.36.1";
hash = "sha256:0l3prxp18lb0pagqg4l6c9i0l6gakfxgf6vxcsv589i0xsxw8ivm";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.net.http2
gopkgs."golang.org".x.net.http2.hpack
gopkgs."golang.org".x.net.trace
gopkgs."golang.org".x.sys.unix
gopkgs."github.com".golang.protobuf.proto
gopkgs."github.com".golang.protobuf.ptypes
gopkgs."google.golang.org".protobuf.reflect.protoreflect
gopkgs."google.golang.org".protobuf.runtime.protoimpl
gopkgs."google.golang.org".protobuf.types.known.durationpb
gopkgs."google.golang.org".protobuf.types.known.timestamppb
gopkgs."google.golang.org".genproto.googleapis.rpc.status
];
}