{ pkgs ? import { } }: let inherit (pkgs) buildGoModule lib; in buildGoModule { pname = "gopkgs"; version = "unstable"; src = lib.sourceFilesBySuffices ./. [ ".go" ".templ" ".mod" ".sum" ]; vendorHash = "sha256-ahjgTjV4xXt21DAcVqplVEeZJDszY8amYYb2WENHWq4="; ldflags = [ "-s" "-w" ]; meta = with lib; { description = "Site generator for go vanity imports"; homepage = "https://git.alanpearce.eu/gopkgs"; license = licenses.mit; maintainers = with maintainers; [ alanpearce ]; mainProgram = "gopkgs"; }; }