diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-05T21·08+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-05T21·08+0000 |
commit | b8ca70539b8f3ec8dc05ea1d0a806307d54b2e3c (patch) | |
tree | 71070468be6b1339f59e6a0d05820d670c339883 /third_party/gopkgs/googlemaps.github.io/maps.nix | |
parent | 1e71b80f6a734ee2d16ccc5bc51dba2788a89641 (diff) |
chore(third_party/gopkgs): Add Google Maps API client & deps r/336
Diffstat (limited to 'third_party/gopkgs/googlemaps.github.io/maps.nix')
-rw-r--r-- | third_party/gopkgs/googlemaps.github.io/maps.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/gopkgs/googlemaps.github.io/maps.nix b/third_party/gopkgs/googlemaps.github.io/maps.nix new file mode 100644 index 000000000000..4c0ee4fb6da2 --- /dev/null +++ b/third_party/gopkgs/googlemaps.github.io/maps.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: + +pkgs.buildGo.external { + path = "googlemaps.github.io/maps"; + + src = pkgs.third_party.fetchFromGitHub { + owner = "googlemaps"; + repo = "google-maps-services-go"; + rev = "a46d9fca56ac82caa79408b2417ea93a75e3b986"; + sha256 = "1zpl85yd3m417060isdlhxzakqkf4f59jgpz3kcjp2i0mkrskkjs"; + }; + + deps = with pkgs.third_party; map (p: p.gopkg) [ + gopkgs."github.com".google.uuid + gopkgs."golang.org".x.time.rate + ]; +} |