The present invention relates to compounds of formula (I): in which Y, Y1, R1, R2, R3 and R4 are defined in the Summary of the Invention; capable of inhibiting the activity of BCR-ABL1 and mutants thereof. The invention further provides a process for the preparation of compounds of the invention, pharmaceutical preparations comprising such compounds and methods of using such compounds in the treatment of cancers.本發明係關於式(I)化合物,其中Y、Y1、R1、R2、R3及R4係如發明內容中所定義;該等化合物能夠抑制BCR-ABL1及其突變體之活性。本發明進一步提供製備本發明化合物之方法、包含該等化合物之醫藥製劑及使用該等化合物治療癌症之方法。