tvl-depot/third_party/gopkgs/golang.org/x/oauth2/default.nix
Vincent Ambo 3842c184b6 chore(3p/gopkgs): 'depot.buildGo' -> 'depot.nix.buildGo'
This makes it possible to deprecate the previous alias.

Change-Id: I6efe73a21dc771cfa28094bbac434a188aebfd45
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2647
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2021-03-23 23:44:14 +00:00

14 lines
352 B
Nix

{ depot, ... }:
depot.nix.buildGo.external {
path = "golang.org/x/oauth2";
src = builtins.fetchGit {
url = "https://go.googlesource.com/oauth2";
rev = "858c2ad4c8b6c5d10852cb89079f6ca1c7309787";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.net.context.ctxhttp
gopkgs."cloud.google.com".go.compute.metadata
];
}