diff --git a/Cabal-syntax.cabal b/Cabal-syntax.cabal
new file mode 100644
--- /dev/null
+++ b/Cabal-syntax.cabal
@@ -0,0 +1,48 @@
+cabal-version: >=1.10
+name:          Cabal-syntax
+version:       3.6.0.0
+copyright:     2003-2021, Cabal Development Team (see AUTHORS file)
+license:       BSD3
+license-file:  LICENSE
+author:        Cabal Development Team <cabal-devel@haskell.org>
+maintainer:    cabal-devel@haskell.org
+homepage:      http://www.haskell.org/cabal/
+bug-reports:   https://github.com/haskell/cabal/issues
+synopsis:      A library for working with .cabal files
+description:
+    This library provides tools for reading and manipulating the .cabal file
+    format.
+    .
+    Version 3.6 (unlike the following versions) is a dummy package that
+    prevents module name clases between Cabal and Cabal-syntax if used together
+    with a Cabal flag as described below.
+    .
+    In Cabal-3.7 this package was split off. To avoid module name clashes, you
+    can add this to your .cabal file:
+    .
+    > flag Cabal-syntax
+    >   description: Use the new Cabal-syntax package
+    >   default: False
+    >   manual: False
+    >
+    > library
+    >   -- ...
+    >   if flag(Cabal-syntax)
+    >     build-depends: Cabal-syntax >= 3.7
+    >   else
+    >     build-depends: Cabal < 3.7, Cabal-syntax < 3.7
+    .
+    This will default to the older build, but will allow consumers to opt-in to
+    the newer libraries by requiring Cabal or Cabal-syntax >= 3.7
+category:       Distribution
+build-type:     Simple
+
+source-repository head
+  type:     git
+  location: https://github.com/haskell/cabal/
+  subdir:   Cabal-syntax
+
+library
+  default-language: Haskell2010
+  build-depends:
+    Cabal   < 3.7
diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,34 @@
+Copyright (c) 2003-2020, Cabal Development Team.
+See the AUTHORS file for the full list of copyright holders.
+
+See */LICENSE for the copyright holders of the subcomponents.
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+
+    * Neither the name of Isaac Jones nor the names of other
+      contributors may be used to endorse or promote products derived
+      from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,3 @@
+import Distribution.Simple
+main :: IO ()
+main = defaultMain
