librettist
noun
°The person who writes a libretto.