depot/third_party/gopkgs/golang.org/x/oauth2/default.nix

19 lines
561 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "golang.org/x/oauth2";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "golang";
repo = "oauth2";
rev = "d3ed0bb246c8d3c75b63937d9a5eecff9c74d7fe";
hash = "sha256:1vwkvx9kicl0sx27a41r5nfhaw3r5ni94xrvdg5mdihb0g57skwq";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.net.context.ctxhttp
gopkgs."cloud.google.com".go.compute.metadata
];
}