diff --git a/unfoldable.cabal b/unfoldable.cabal
--- a/unfoldable.cabal
+++ b/unfoldable.cabal
@@ -1,7 +1,8 @@
-Name:                 unfoldable
-Version:              1.0
-Synopsis:             Class of data structures that can be unfolded.
-Description:          Just as there's a Foldable class, there should also be an Unfoldable class.
+cabal-version:        >= 1.10
+name:                 unfoldable
+version:              1.0.1
+synopsis:             Class of data structures that can be unfolded.
+description:          Just as there's a Foldable class, there should also be an Unfoldable class.
                       .
                       This package provides one. Example unfolds are:
                       .
@@ -12,43 +13,51 @@
                       * Convert from a list
                       .
                       Some examples can be found in the examples directory.
-Homepage:             https://github.com/sjoerdvisscher/unfoldable
-Bug-reports:          https://github.com/sjoerdvisscher/unfoldable/issues
-License:              BSD3
-License-file:         LICENSE
-Author:               Sjoerd Visscher
-Maintainer:           sjoerd@w3future.com
-Category:             Generics
-Build-type:           Simple
-Cabal-version:        >= 1.6
+homepage:             https://github.com/sjoerdvisscher/unfoldable
+bug-reports:          https://github.com/sjoerdvisscher/unfoldable/issues
+license:              BSD3
+license-file:         LICENSE
+author:               Sjoerd Visscher
+maintainer:           sjoerd@w3future.com
+category:             Generics
+build-type:           Simple
+tested-with:          GHC==9.0.1, GHC==8.10.2, GHC==8.8.4
 
-Extra-Source-Files:
+
+extra-Source-Files:
   CHANGELOG.md
   examples/*.hs
   src/Data/Triunfoldable.hs
 
-Library
-  HS-Source-Dirs:  src
+library
+  hs-source-dirs:   src
+  default-language: Haskell2010
 
-  Exposed-modules:
+  exposed-modules:
     Data.Unfolder
     Data.Unfoldable
     Data.Biunfoldable
 
-  Build-depends:
+  build-depends:
       base         >= 4   && < 5
     , containers   >= 0.5 && < 0.7
     , transformers >= 0.4 && < 0.6
     , random       >= 1.0 && < 1.2
     , QuickCheck   >= 2.7.3 && < 3.0
 
-  if impl(ghc >= 7.6)
+  if impl(ghc >= 7.6) && impl(ghc < 9)
     cpp-options:   -DGENERICS
     build-depends:
         ghc-prim     >= 0.2
       , one-liner    >= 0.9 && < 2.0
 
-  Other-extensions:
+  if impl(ghc >= 9.0)
+    cpp-options:   -DGENERICS
+    build-depends:
+        ghc-prim     >= 0.2
+      , one-liner    >= 2.0 && < 3.0
+
+  other-extensions:
       GeneralizedNewtypeDeriving
     , RankNTypes
     , Safe
