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

28 lines
766 B
Nix
Raw Normal View History

2020-11-04 17:10:15 +00:00
# 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.known.timestamppb
types.known.anypb
types.known.durationpb
types.known.wrapperspb
2020-11-04 17:10:15 +00:00
];
}