[NH2:1][C:2]1[CH:6]=[CH:5][NH:4][N:3]=1.O=[C:8]([CH:12]1[CH2:17][CH2:16][S:15][CH2:14][CH2:13]1)[CH2:9][C:10]#[N:11]>C(O)(=O)C>[S:15]1[CH2:16][CH2:17][CH:12]([C:8]2[CH:9]=[C:10]([NH2:11])[N:3]3[N:4]=[CH:5][CH:6]=[C:2]3[N:1]=2)[CH2:13][CH2:14]1A mixture of 3-aminopyrazole (19.3 mmol, 1.61 g) and 3-oxo-3-(tetrahydro-2H-thiopyran-4-yl)propanenitrile (21.3 mmol, 3.60 g) in acetic acid (40 mL) was heated at 100° C. in a sealed tube overnight. After cooling to rt, all the volatiles were removed under reduced pressure to afford 5-(tetrahydro-2H-thiopyran-4-yl)pyrazolo[1,5-a]pyrimidin-7-amine as a light brownish oil. LCMS tR=0.59 Min. Mass calculated for, M+ 234.1, observed LC/MS m/z 235.1 (M+H).