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

17 lines
511 B
Nix

# 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 = "5d25da1a8d43b66f2898c444f899c7bcfd6a407e";
hash = "sha256:14jx8sxshbvnx4fggn12mlmz000zcrd1a73n1455b1wgg1xfzq3n";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.net.context.ctxhttp
];
}