The present invention relates to 6-amino-7-deazapurine derivatives that modulate the activity of protein kinases and are therefore useful in the treatment of diseases resulting from dysregulation of protein kinase activity, particularly RET family kinases. The present invention further provides a method for producing these compounds, a pharmaceutical composition containing these compounds, and a method for treating a disease using the pharmaceutical composition containing these compounds.本発明はプロテインキナーゼの活性を調節し、従って、プロテインキナーゼ活性、特にRETファミリーキナーゼの調節異常に起因する疾患の治療に有用な6-アミノ-7-デアザプリン誘導体に関する。本発明は更にこれらの化合物の製造方法、これらの化合物を含有する医薬組成物、及びこれらの化合物を含有する医薬組成物を利用した疾患の治療方法も提供する。