diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
 [![hackage release](https://img.shields.io/hackage/v/cabal2spec.svg?label=hackage)](http://hackage.haskell.org/package/cabal2spec)
 [![stackage LTS package](http://stackage.org/package/cabal2spec/badge/lts)](http://stackage.org/lts/package/cabal2spec)
 [![stackage Nightly package](http://stackage.org/package/cabal2spec/badge/nightly)](http://stackage.org/nightly/package/cabal2spec)
-[![travis build status](https://img.shields.io/travis/peti/cabal2spec/master.svg?label=travis+build)](https://travis-ci.org/peti/cabal2spec)
+[![CI Status](https://github.com/peti/cabal2spec/actions/workflows/haskell-ci.yml/badge.svg)](https://github.com/peti/cabal2spec/actions/workflows/haskell-ci.yml)
 
 The `cabal2spec` utility converts a given Cabal file into an [RPM spec
 file](http://ftp.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html) that
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/cabal2spec.cabal b/cabal2spec.cabal
--- a/cabal2spec.cabal
+++ b/cabal2spec.cabal
@@ -1,5 +1,5 @@
 name:               cabal2spec
-version:            2.6.3
+version:            2.6.4
 synopsis:           Convert Cabal files into rpm spec files
 description:        Convert
                     Cabal files into a
@@ -14,7 +14,7 @@
 license-file:       LICENSE
 author:             Peter Simons, Bryan O'Sullivan, Jens Petersen
 maintainer:         simons@cryp.to
-tested-with:        GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.1
+tested-with:        GHC == 9.2.5, GHC == 9.4.4
 category:           Distribution
 homepage:           https://github.com/peti/cabal2spec
 build-type:         Simple
@@ -25,12 +25,12 @@
 
 source-repository head
   type:     git
-  location: git://github.com/peti/cabal2spec.git
+  location: https://github.com/peti/cabal2spec.git
 
 library
   exposed-modules:  Cabal2Spec
   hs-source-dirs:   src
-  build-depends:    base > 4.12 && < 5, Cabal == 3.6.2.*, filepath, time >= 1.5
+  build-depends:    base > 4.12 && < 5, Cabal == 3.8.*, filepath, time >= 1.5
   default-language: Haskell2010
 
 executable cabal2spec
diff --git a/src/Cabal2Spec.hs b/src/Cabal2Spec.hs
--- a/src/Cabal2Spec.hs
+++ b/src/Cabal2Spec.hs
@@ -10,12 +10,12 @@
 import Distribution.Package
 import Distribution.PackageDescription
 import Distribution.PackageDescription.Configuration
-import Distribution.PackageDescription.Parsec
 import Distribution.Pretty
+import Distribution.Simple.PackageDescription
 import Distribution.System
 import Distribution.Text
-import Distribution.Utils.Path ( getSymbolicPath )
 import Distribution.Types.ComponentRequestedSpec
+import Distribution.Utils.Path ( getSymbolicPath )
 import Distribution.Utils.ShortText ( fromShortText )
 import Distribution.Verbosity
 import Distribution.Version
