Disclosed are nitrile derivatives and pharmaceutical compositions comprising nitrile derivatives. The pharmaceutical compositions comprise compounds of the formula I : (I) and the pharmaceutically acceptable salts of such compounds. Also disclosed are processes for the preparation of such compounds, intermediates used in the preparation of such compounds, and the uses of such compounds in treating hyperproliferative diseases, inflammatory diseases and viral and bacterial infections and inducing apoptosis in cancer cells.