Problem: we want to make a new release to support latest
GHC versions, but there was a deprecation in recent changes.
Solution: make a major version bump, set the new version to
1.1.0.0.
We want to release a version which supports text-2.0.* and newer GHC.
Note: I have deleted the hash from the .cabal file, because it's more
convenient when this file is in the repo.
Problem: We have introduced a new template for Haskell libraries and
need to update this package according to this template.
Solution: Use new template, bump dependencies, remove unused license,
apply formatting and hlint suggestions.
text-2.0 has been released and everything seems to be working just fine.
I tested with it on GHC 8.10.7 and GHC 9.2.1. I could not test on 9.0.1
due to technical difficulties with haskell.nix, but I suppose it works.
The issue with haskell.nix is that text-2.0 broke an internal interface
used by hashable, so we need a new hashable, but it fails to build for
an unknown reason.