The present disclosure provides compounds and pharmaceutically acceptable salts thereof that are tyrosine kinase inhibitors, in particular BLK, BMX, EGFR, HER2, HER4, ITK, 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 thereof and processes for preparing such compounds and pharmaceutically acceptable salts thereof.本開示は、チロシンキナーゼ阻害剤、特にBLK、BMX、EGFR、HER2、HER4、ITK、TEC、BTK、およびTXK阻害剤であり、したがってチロシンキナーゼの阻害により治療可能な疾患、例えば癌および炎症疾患、例えば関節炎などの治療に有用な化合物および薬学的に許容可能なその塩を提供する。そのような化合物および薬学的に許容可能なその塩を含有する医薬組成物ならびにそのような化合物および薬学的に許容可能なその塩を調製する方法も提供される。