From 7b77e9986c5bbedce6bc0a0154d253f71c9f2548 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 5 Jan 2020 21:09:00 +0000 Subject: 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! --- fun/amsterdump/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 fun/amsterdump/default.nix (limited to 'fun/amsterdump/default.nix') diff --git a/fun/amsterdump/default.nix b/fun/amsterdump/default.nix new file mode 100644 index 000000000000..e5fc22a176ef --- /dev/null +++ b/fun/amsterdump/default.nix @@ -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 + ]; +} -- cgit 1.4.1