The present invention relates to compounds of Formula I: as well as pharmaceutically acceptable salts, hydrates, isomers, or solvates thereof, wherein the variables are described herein. The present invention further relates to pharmaceutical compositions which comprise the compounds of Formula I, and to methods for inhibiting protein kinase and methods of treating diseases, such as cancers, inflammation.