{ lib, buildGoModule, fetchFromGitHub, }: buildGoModule rec { pname = "mapshot"; version = "0.0.22"; src = fetchFromGitHub { owner = "Palats"; repo = "mapshot"; rev = version; hash = "sha256-cgNQU9T4xgJbUHI57XjP+UoCLfV+JCm0tvj8xLuI4Qs="; }; vendorHash = "sha256-3bjEoE4angdBs2bVNINZrkeBl68NsWVRjlKTevLrroM="; ldflags = [ "-s" "-w" ]; meta = { description = "Factorio mod to export maps as zoomable html"; homepage = "https://github.com/Palats/mapshot"; changelog = "https://github.com/Palats/mapshot/blob/${src.rev}/changelog.txt"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ ]; mainProgram = "mapshot"; }; }