Gravity waves in flowing water