feat(fun/amsterdump): Add distance matrix lookup for fundu results

This contains a little tool that can make requests to the Google Maps
API for distance matrix lookups from Fundu results to Schiphol Airport
and Amsterdam Centraal.

<3 edef!
This commit is contained in:
Vincent Ambo 2020-01-05 21:09:00 +00:00
parent b8ca70539b
commit 7b77e9986c
4 changed files with 2472 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
pkgs.buildGo.program {
name = "amsterdump";
srcs = [
./main.go
];
deps = with pkgs.third_party; map (p: p.gopkg) [
# gopkgs."golang.org".x.oauth2.google
gopkgs."googlemaps.github.io".maps
];
}