This merge request cleans up the .cabal file and fixes some errors with more recent Cabal versions.
.cabal