30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
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.42.0";
|
|
sha256 = "sha256:0k5k762licfzs56nk817g83qji4np32z0gwnfbwr95y70klvs76q";
|
|
};
|
|
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.compiler.protogen
|
|
gopkgs."google.golang.org".protobuf.reflect.protoreflect
|
|
gopkgs."google.golang.org".protobuf.runtime.protoimpl
|
|
gopkgs."google.golang.org".protobuf.types.descriptorpb
|
|
gopkgs."google.golang.org".protobuf.types.pluginpb
|
|
gopkgs."google.golang.org".protobuf.types.known.durationpb
|
|
gopkgs."google.golang.org".protobuf.types.known.timestamppb
|
|
gopkgs."google.golang.org".genproto.googleapis.rpc.status
|
|
];
|
|
}
|