The present disclosure provides compounds and pharmaceutically acceptable salts that are tyrosine kinase inhibitors, in particular BLK, BMX, EGFR, HER2, HER4, ITK, JAK3, TEC, Btk, and TXK and are therefore useful for the treatment of diseases treatable by inhibition of tyrosine kinases such as cancer and inflammatory diseases such as arthritis, and the like. Also provided are pharmaceutical compositions containing such compounds and pharmaceutically acceptable salts and processes for preparing such compounds and pharmaceutically acceptable salts.本開示は、チロシンキナーゼ、特にBLK、BMX、EGFR、HER2、HER4、ITK、JAK3、TEC、Btk、およびTXK阻害剤であり、したがってチロシンキナーゼの阻害により治療可能な疾患、例えば癌および炎症疾患、例えば関節炎などの治療に有用である化合物および薬学的に許容可能な塩を提供する。そのような化合物および薬学的に許容可能な塩を含む医薬組成物ならびにそのような化合物および薬学的に許容可能な塩を調製する方法も提供される。