hi,
you are talking about circuit of 'automatic' irrigation system, that's why you must use a programmable integrated circuit to control your system, for eg microcontroller, like pic16fxx, 18fxx.... (microchip)or others, you have to know the type of signal generated by the sensor, ask' the type of your sensor (analog or digital), don't forget to choose a appropriate driver to your pump (relay, triac...);
good luck