1 2 3 4 5 6 7 8 9 10 11 12 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 ]; }