In a non-stick pan, add all the ingredients (except pistachios) and gently stir on a low flame till the mix starts to leave the sides of the pan.
Transfer it to a greased plate and garnish with the chopped pistachios. Allow it to cool and refrigerate for some time.
Cut into desired shapes and enjoy as and when desired. Great for any festive occasion or as an after meal dessert.