Blend pistachios into a paste and cook it with a custard made from milk, cream, sugar, and egg yolks. Chill the mixture, then churn it in an ice cream maker. Freeze and enjoy a rich, creamy pistachio gelato.