2021-11-21 22:09:43 +01:00
|
|
|
{ depot, pkgs, ... }:
|
2019-12-13 13:12:06 +01:00
|
|
|
|
2021-03-24 00:19:17 +01:00
|
|
|
depot.nix.buildGo.external {
|
2019-12-13 13:12:06 +01:00
|
|
|
path = "golang.org/x/oauth2";
|
2021-11-21 22:09:43 +01:00
|
|
|
|
|
|
|
src = pkgs.fetchgit {
|
2019-12-13 13:12:06 +01:00
|
|
|
url = "https://go.googlesource.com/oauth2";
|
2019-12-13 22:30:14 +01:00
|
|
|
rev = "858c2ad4c8b6c5d10852cb89079f6ca1c7309787";
|
2021-11-21 22:09:43 +01:00
|
|
|
hash = "sha256:1dc7n8ddph8w6q0i3cwlgvjwpf2wlkx407va1ydnazasi1j5ixrw";
|
2019-12-13 13:12:06 +01:00
|
|
|
};
|
|
|
|
|
2020-08-03 21:28:16 +02:00
|
|
|
deps = with depot.third_party; [
|
2019-12-13 13:12:06 +01:00
|
|
|
gopkgs."golang.org".x.net.context.ctxhttp
|
|
|
|
gopkgs."cloud.google.com".go.compute.metadata
|
|
|
|
];
|
|
|
|
}
|