Similar thing happened in MEL recently on a flight I was on.All pax boarded,doors shut then we just sat there for 3-4 hours before pushing back.I felt for the passengers just arrived after long flights stuck on aircraft on taxiways for hours.All to do with OH&S I believe.No workers outside while lightning around.Problem was a line of storms kept arriving so no time between storms to get things moving again.