diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,29 @@
+Copyright (c) 2012 Peter Simons <simons@cryp.to>
+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 Peter Simons 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/Main.hs b/Main.hs
new file mode 100644
--- /dev/null
+++ b/Main.hs
@@ -0,0 +1,21 @@
+module Main ( main ) where
+
+import Distribution.Package
+import Distribution.PackageDescription
+import Distribution.PackageDescription.Parse
+import Distribution.PackageDescription.PrettyPrint
+import Distribution.Version
+import Distribution.Verbosity
+import System.Environment
+
+main :: IO ()
+main = getArgs >>= mapM_ (\cabalFile -> readPackageDescription silent cabalFile >>= writeGenericPackageDescription cabalFile . stripVersionRestrictions)
+
+stripVersionRestrictions :: GenericPackageDescription -> GenericPackageDescription
+stripVersionRestrictions pkg = pkg { condLibrary = fmap f2 (condLibrary pkg)
+                                   , condExecutables = map f1 (condExecutables pkg)
+                                   }
+  where
+    f1 (string,condTree) = (string, f2 condTree)
+    f2 ct = ct { condTreeConstraints = map f3 (condTreeConstraints ct) }
+    f3 (Dependency d _) = Dependency d anyVersion
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/jailbreak-cabal.cabal b/jailbreak-cabal.cabal
new file mode 100644
--- /dev/null
+++ b/jailbreak-cabal.cabal
@@ -0,0 +1,23 @@
+Name:                   jailbreak-cabal
+Version:                1.0
+Synopsis:               Strip version restrictions from build dependencies in Cabal files.
+License:                BSD3
+License-file:           LICENSE
+Author:                 Peter Simons <simons@cryp.to>
+Maintainer:             Peter Simons <simons@cryp.to>
+Homepage:               http://github.com/peti/jailbreak-cabal
+Category:               Distribution
+Build-type:             Simple
+Cabal-version:          >= 1.6
+Tested-with:            GHC == 7.4.2
+Description:
+ Strip version restrictions from build dependencies in Cabal files.
+
+Source-Repository head
+  Type:                 git
+  Location:             git://github.com/peti/jailbreak-cabal.git
+
+Executable jailbreak-cabal
+  Main-is:              Main.hs
+  Build-depends:        base >= 3 && < 5, Cabal >= 1.12.0
+  Ghc-Options:          -Wall
