chore(third_party/gopkgs): Add Google Maps API client & deps
This commit is contained in:
parent
1e71b80f6a
commit
b8ca70539b
4 changed files with 39 additions and 3 deletions
17
third_party/gopkgs/googlemaps.github.io/maps.nix
vendored
Normal file
17
third_party/gopkgs/googlemaps.github.io/maps.nix
vendored
Normal file
|
@ -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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue