This invention relates to pyrimidine derivatives of general formula I
##STR00001## in which R.sup.1, R.sup.2, X, A and B have the meanings
that are contained in the description, as inhibitors of the
cyclin-dependent kinases, their production as well as their use as
medications for treating various diseases.