For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell/openSUSE_Tumbleweed/devel:languages:haskell.repo
zypper refresh
zypper install ghc-vty-unix
For openSUSE Factory zSystems standard run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell/openSUSE_Factory_zSystems_standard/devel:languages:haskell.repo
zypper refresh
zypper install ghc-vty-unix
For openSUSE Factory RISCV standard run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell/openSUSE_Factory_RISCV_standard/devel:languages:haskell.repo
zypper refresh
zypper install ghc-vty-unix
For openSUSE Factory PowerPC standard run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell/openSUSE_Factory_PowerPC_standard/devel:languages:haskell.repo
zypper refresh
zypper install ghc-vty-unix
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell/openSUSE_Factory_ARM/devel:languages:haskell.repo
zypper refresh
zypper install ghc-vty-unix
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:haskell/15.6/devel:languages:haskell.repo
zypper refresh
zypper install ghc-vty-unix