Combine all the ingredients, except walnuts, into a saucepan and stir well. Cook over medium heat until the berries pop open, about 10 minutes. Skim the foam off the surface with a spoon and discard. Add walnuts. Cool to room temperature. Refrigerate, covered, up to 3 months. Maybe frozen.