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!
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ 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
 | 
						|
  ];
 | 
						|
}
 |