Will Smith's half-century helped Hampshire to 231-5 on a weather-affected first day against Derbyshire at the County Ground.