diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -1,6 +1,10 @@
+{-# LANGUAGE CPP #-}
 module Main ( main ) where
 
 import Distribution.Package
+#if MIN_VERSION_Cabal_syntax(3,7,0)
+import Distribution.Simple.PackageDescription
+#endif
 import Distribution.PackageDescription
 import Distribution.PackageDescription.Parsec
 import Distribution.PackageDescription.PrettyPrint
diff --git a/jailbreak-cabal.cabal b/jailbreak-cabal.cabal
--- a/jailbreak-cabal.cabal
+++ b/jailbreak-cabal.cabal
@@ -1,13 +1,13 @@
 name:                   jailbreak-cabal
-version:                1.3.5
+version:                1.3.6
 synopsis:               Strip version restrictions from Cabal files
 description:            Strip version restrictions from build dependencies in Cabal files.
 category:               Distribution
 stability:              stable
-homepage:               https://github.com/peti/jailbreak-cabal
-bug-reports:            https://github.com/peti/jailbreak-cabal/issues
+homepage:               https://github.com/NixOS/jailbreak-cabal
+bug-reports:            https://github.com/NixOS/jailbreak-cabal/issues
 author:                 Peter Simons, Jeremy Shaw, Joel Taylor, Kosyrev Serge, Nikolay Amiantov, aszlig
-maintainer:             simons@cryp.to
+maintainer:             sternenseemann@systemli.org
 license:                BSD3
 license-file:           LICENSE
 build-type:             Simple
@@ -17,9 +17,10 @@
 
 source-repository head
   type: git
-  location: https://github.com/peti/jailbreak-cabal
+  location: https://github.com/NixOS/jailbreak-cabal
 
 executable jailbreak-cabal
   main-is: Main.hs
-  build-depends: base < 5, Cabal == 3.*
+  -- for Cabal < 3.7, the Cabal-syntax dummy package will be used
+  build-depends: base < 5, Cabal == 3.*, Cabal-syntax
   default-language: Haskell2010
