Js,
Just make sure you don't restrict that intake at all. Ideally you don't want any plumbing on the intake for that reason, but what you have here should work so long as you don't have any sections of that intake pipe that are smaller diameter than the inlet on the pump. If that means you need to use larger diameter pipe, then I would do that