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

31 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/api";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "googleapis";
repo = "google-api-go-client";
rev = "v0.60.0";
sha256 = "sha256:0drrwwq31lbpkx8kck6njfiwym86l3mdacwx2v9lsrcybqlfl745";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.net.http2
gopkgs."golang.org".x.oauth2
gopkgs."golang.org".x.oauth2.google
gopkgs."golang.org".x.sys.unix
gopkgs."google.golang.org".grpc
gopkgs."google.golang.org".grpc.balancer.grpclb
gopkgs."google.golang.org".grpc.credentials
gopkgs."google.golang.org".grpc.credentials.google
gopkgs."google.golang.org".grpc.credentials.oauth
gopkgs."cloud.google.com".go.compute.metadata
gopkgs."go.opencensus.io".plugin.ocgrpc
gopkgs."go.opencensus.io".plugin.ochttp
gopkgs."go.opencensus.io".trace
gopkgs."go.opencensus.io".trace.propagation
gopkgs."github.com".googleapis.gax-go.v2
];
}