Pour the oil into a high-sided saucepan, then add the chopped celery, carrot, onion and garlic clove; sauté together over medium heat. Add all the legumes, mixing with a wooden spoon, then the stock and crushed tomatoes, curry, rosemary and salt.
Cook everything over medium heat, covered with a lid, for about 30 minutes, stirring from time to time.