Pasta is usually made from either wheat flour or rice flour , but it can be made with other types of flour . Pasta sometimes has eggs in it . Some pasta varieties , such as pizzoccheri , are made from buckwheat flour .