The present invention relates to a novel family of inhibitors of protein kinase of formula 1 and process for their production and pharmaceutical compositions thereof. In particular, the present invention relates to inhibitors of the members of the Tec, Src and Btk protein kinase families.