Non-Markovianity induced by a single-photon wave packet in a one-dimensional waveguide.