The .cabal file in regex-tdfa is pretty relaxed about version numbers, so I don't see see an error there. If it were me I'd install it form local with runhaskell Setup.hs configure; runhaskell Setup.hs build; runhaskell Setup.hs install