diff --git a/Setup.hs b/Setup.hs
deleted file mode 100644
--- a/Setup.hs
+++ /dev/null
@@ -1,2 +0,0 @@
-import Distribution.Simple
-main = defaultMain
diff --git a/hyper.cabal b/hyper.cabal
--- a/hyper.cabal
+++ b/hyper.cabal
@@ -1,32 +1,42 @@
-Name:               hyper
-Version:            0.2.1.1
-Synopsis:           Display class for the HyperHaskell graphical Haskell interpreter
-Description:
+cabal-version:      3.0
+name:               hyper
+version:            0.2.1.2
+synopsis:           Display class for the HyperHaskell graphical Haskell interpreter
+description:
   This package is part of the /HyperHaskell/ project and provides
   the @Display@ class for visualizing and pretty printing Haskell values.
   .
-Category:           Graphics, Pretty Printer
-Homepage:           https://github.com/HeinrichApfelmus/hyper-haskell
-License:            BSD3
-License-file:       LICENSE
-Author:             Heinrich Apfelmus
-Maintainer:         Heinrich Apfelmus <apfelmus quantentunnel de>
-Copyright:          (c) Heinrich Apfelmus 2016-2020
+category:           Graphics, Pretty Printer
+homepage:           https://github.com/HeinrichApfelmus/hyper-haskell
+license:            BSD-3-Clause
+license-file:       LICENSE
 
-Cabal-version:      >= 1.10
-Build-type:         Simple
+author:             Heinrich Apfelmus
+maintainer:         Heinrich Apfelmus <apfelmus quantentunnel de>
+copyright:          (c) Heinrich Apfelmus 2016-2024
 
-Source-repository head
-    type:               git
-    location:           git://github.com/HeinrichApfelmus/hyper-haskell.git
-    subdir:             haskell/hyper/
+tested-with: 
+  , GHC == 8.10.7
+  , GHC == 9.2.8
+  , GHC == 9.4.7
+  , GHC == 9.6.7
+  , GHC == 9.8.4
+  , GHC == 9.10.2
+  , GHC == 9.12.2
 
-Library
-    hs-source-dirs:     src
-    build-depends:      base         >= 4.5   && < 4.16
-                        , deepseq    >= 1.2   && < 1.5
-                        , blaze-html >= 0.7   && < 0.10
-                        , text       >= 0.11  && < 1.3
-    exposed-modules:    Hyper
-                        , Hyper.Internal
-    default-language:   Haskell2010
+source-repository head
+  type:               git
+  location:           https://github.com/HeinrichApfelmus/hyper-haskell.git
+  subdir:             haskell/hyper/
+
+library
+  hs-source-dirs:     src
+  default-language:   Haskell2010
+  build-depends:
+    , base       >= 4.5   && < 4.22
+    , deepseq    >= 1.2   && < 1.7
+    , blaze-html >= 0.7   && < 0.10
+    , text       >= 0.11  && < 2.2
+  exposed-modules:
+    Hyper
+    Hyper.Internal
