Compounds of the formula (I) in which R1, R2, R, X1, X2, X3, X4, n1, n2, n3 and n4 have the meanings indicated in Claim 1, are inhibitors of Tankyrase, and can be employed, inter alia, for the treatment of diseases such as cancer, cardiovascular diseases, central nervous system injury and different forms of inflammation.