Single-shot time-resolved crystal X-ray spectrometer for tokamak plasma spectroscopy