Abstract: The present invention relates to a pyrazolo[1,5-a]pyrimidine derivative of general formula 1 and a pharmaceutically acceptable salt thereof. The present invention also relates to use of compounds of formula 1 in the preparation of an anti-tumor medicament.