It was directed by Edgar Wright , who co-wrote it with Simon Pegg . The movie stars Simon Pegg and Nick Frost . Hot Fuzz is a 2007 British action comedy film written by Simon Pegg and Edgar Wright and starring Simon Pegg and Nick Frost .