diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+# 0.3.2
+
+Updated for GHC 9.12.2 and current Cabal.
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009-2016, Henry Bucklow, Charlie Harvey
+Copyright (c) 2009-2025, Henry Bucklow, (c) 2016 Charlie Harvey
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
diff --git a/Setup.lhs b/Setup.lhs
deleted file mode 100644
--- a/Setup.lhs
+++ /dev/null
@@ -1,7 +0,0 @@
-#! /usr/bin/env runhaskell
-
-> import Distribution.Simple
-> import System.Cmd
-> tests _ _ _ _ = system "runhaskell src/Tests.hs" >> return ()
-> main = defaultMainWithHooks (simpleUserHooks {runTests = tests})
-
diff --git a/digits.cabal b/digits.cabal
--- a/digits.cabal
+++ b/digits.cabal
@@ -1,35 +1,35 @@
-Build-Type: Simple
-Name: digits
-Category: Data
-Version: 0.3.1
-Cabal-Version: >= 1.10
-Synopsis: Converts integers to lists of digits and back.
-Description: Converts integers to lists of digits and back.
-License: BSD3
+cabal-version: 3.8
+name: digits
+category: Data
+version: 0.3.2
+synopsis: Converts integers to lists of digits and back.
+description: Converts integers to lists of digits and back. Supports arbitrary bases.
+License: BSD-3-Clause
 License-File: LICENSE
-Copyright: (c) 2009-2016 Henry Bucklow, Charlie Harvey
+Copyright: (c) 2009-2025 Henry Bucklow, (c) 2016 Charlie Harvey
 Author: Henry Bucklow
-Maintainer: henry@elsie.org.uk
-Tested-With: GHC==7.10.3
+Maintainer: opensource@elsie.org.uk
+Tested-With: GHC==9.12.2
+extra-doc-files: CHANGELOG.md
 
+source-repository head
+    type: git
+    location: https://github.com/sffubs/digits.git
+
 library
   hs-source-dirs:      src
   exposed-modules:     Data.Digits
   build-depends:       base >= 4.7 && < 5
-                     , QuickCheck
+                     , QuickCheck < 3
   default-language:    Haskell2010
+  ghc-options:         -Wall
 
 test-suite digits-test
   type:                exitcode-stdio-1.0
   hs-source-dirs:      test
-                     , src
   main-is:             Tests.hs
   build-depends:       base
                      , digits
-                     , QuickCheck
+                     , QuickCheck < 3
   ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
   default-language:    Haskell2010
-
-source-repository head
-  type:     mercurial
-  location: https://bitbucket.org/sffubs/digits
