Patent ID: 7754759

Claim:
A compound of formula I: or a pharmaceutically acceptable salt thereof, wherein: m is from 0 to 2: n is from 1 to 3; p is from 0 to 3; Ar is optionally substituted aryl or optionally substituted heteroaryl; X is —C(O)— or —CR a R b —, wherein: R a is hydrogen or C 1-6 alkyl; and R b is hydrogen, C 1-6 alkyl or hydroxy; R 1 and R 2 each independently is: hydrogen; C 1-6 alkyl; hydroxy-C 1-6 alkyl; or —CH 2 —C(O)—OCH 3 ; or one of R 1 and R 2 is hydrogen or C 1-6 alkyl and the other is: a five- or six-membered heteroaryl or heterocyclyl that contains one or two nitrogens and which is optionally substituted with hydroxyl; C 3-8 cycloalkyl; aryl-C 1-6 alkyl; or —(CH 2 ) r —Y—R h , wherein: Y is —C(O)— or —SO 2 —; r is 0, 1 or 2; and R h is: C 1-6 alkyl; C 3-8 cycloalkyl; C 1-6 alkoxy; cyano-C 1-6 alkyl; halo-C 1-6 alkyl; hydroxy; amino; N—C 1-6 alkylamino; N,N-di-C 1-6 alkylamino; hydroxy-C 1-6 alkyl wherein the hydroxy group may be acetylated; aryl; aryl-C 1-6 alkyl; or aryl-C 1-6 alkyloxy-C 1-6 alkyl; or R 1 and R 2 together with the nitrogen to which they are attached may form a three- to seven-membered ring that optionally contains an additional heteroatom selected from N, O and S and which is optionally substituted with hydroxyl; or R 1 and R 2 together with the nitrogen to which they are attached may form a guanidinyl group or an amidinyl group; R 3 and R 4 each independently is hydrogen or C 1-6 alkyl; or one of R 3 and R 4 together with one of R 1 and R 2 and the atoms to which they are attached may form a five or six-membered ring; or R 3 and R 4 together may form ═NR c wherein R c is hydrogen or C 1-6 alkyl; and each R 5 is independently halo, C 1-6 alkyl, halo-C 1-6 alkyl, hetero-C 1-6 alkyl, cyano, —SO 2 R d , —C(═O)—NR e R f , —SR d , —C(═O)—R g , where each of R d , R e and R f is independently hydrogen or C 1-6 alkyl and R g is hydrogen, C 1-6 alkyl, hydroxy or C 1-6 alkoxy.