depot/third_party/gopkgs/google.golang.org/genproto/default.nix

21 lines
704 B
Nix
Raw Normal View History

2021-03-31 20:52:05 +00:00
# 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/genproto";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "googleapis";
repo = "go-genproto";
rev = "b7513248f0baeaf360936b49a5e918736b586837";
hash = "sha256:06yksav0ijinxynnc4zqc84ap1iiiv72afnld14hig9dm74ndkib";
};
deps = with depot.third_party; [
gopkgs."github.com".golang.protobuf.proto
gopkgs."google.golang.org".protobuf.reflect.protoreflect
gopkgs."google.golang.org".protobuf.runtime.protoimpl
gopkgs."google.golang.org".protobuf.types.known.anypb
];
}