Unfortunately, there's a bunch of dependencies that aren't ready. This is what I had to do to build it:
cabal build --allow-newer="aeson:ghc-prim,aeson:template-haskell,these:base,semialign
:base,semigroupoids:base,generically:base"
UPD: edited as suggested below.