depot/third_party/gopkgs/github.com/golang/protobuf/default.nix

29 lines
813 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "github.com/golang/protobuf";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "golang";
repo = "protobuf";
rev = "4846b58453b3708320bdb524f25cc5a1d9cda4d4";
hash = "sha256:1kf1d7xmyjvy0z6j5czp6nqyvj9zrk6liv6znif08927xqfrzyln";
};
deps = with depot.third_party.gopkgs."google.golang.org".protobuf; [
encoding.prototext
encoding.protowire
proto
reflect.protoreflect
reflect.protoregistry
runtime.protoiface
runtime.protoimpl
types.descriptorpb
types.known.anypb
types.known.durationpb
types.known.emptypb
types.known.timestamppb
types.known.wrapperspb
];
}