diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2016 Heinrich Apfelmus
+Copyright (c) 2016-2024 Heinrich Apfelmus
 
 All rights reserved.
 
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-extra.cabal b/hyper-extra.cabal
--- a/hyper-extra.cabal
+++ b/hyper-extra.cabal
@@ -1,36 +1,45 @@
-Name:               hyper-extra
-Version:            0.2.0.1
-Synopsis:           Display instances for the HyperHaskell graphical Haskell interpreter
-Description:
+cabal-version:      3.0
+name:               hyper-extra
+version:            0.2.0.2
+synopsis:           Display instances for the HyperHaskell graphical Haskell interpreter
+description:
   This package is part of the /HyperHaskell/ project and provides
   visual representations for various data types, in particular
   diagrams from the @diagrams@ package.
   .
-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-extra/
+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.6     && < 4.16
-                        , text         >= 0.11    && < 1.3
-                        , diagrams-lib >= 1.3     && < 1.5
-                        , diagrams-svg >= 1.4     && < 1.5
-                        , svg-builder  == 0.1.*
-                        , QuickCheck   >= 2.3.0.2 && < 2.15
-                        , hyper        >= 0.2     && < 0.3
-    exposed-modules:    Hyper.Extra
-    default-language:   Haskell2010
+source-repository head
+  type:               git
+  location:           https://github.com/HeinrichApfelmus/hyper-haskell.git
+  subdir:             haskell/hyper-extra/
 
+library
+  hs-source-dirs:     src
+  default-language:   Haskell2010
+  build-depends:
+    , base         >= 4.6     && < 4.22
+    , diagrams-lib >= 1.3     && < 1.6
+    , diagrams-svg >= 1.4     && < 1.6
+    , hyper        >= 0.2     && < 0.3
+    , QuickCheck   >= 2.3.0.2 && < 2.18
+    , svg-builder  >= 0.1     && < 0.2
+    , text         >= 0.11    && < 2.2
+  exposed-modules:
+    Hyper.Extra
