patch applied (cabal): Add packageName, packageVersion and use them