diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,29 @@
+Copyright (c) 2002-2010, The University Court of the University of Glasgow.
+Copyright (c) 2007-2010, Johan Tibell
+
+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 name of the University nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
+GLASGOW AND THE 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
+UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE 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,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/network-uri.cabal b/network-uri.cabal
new file mode 100644
--- /dev/null
+++ b/network-uri.cabal
@@ -0,0 +1,44 @@
+name:                network-uri
+version:             2.5.0.0
+synopsis:            URI manipulation
+description:
+  This package provides an URI manipulation interface.
+  .
+  Version 2.5 (unlike the following versions) is a dummy package that
+  prevents module name clashes between network-uri and network, if
+  used together with a Cabal flag as described below.
+  .
+  In network-2.6 the @Network.URI@ module was split off from the
+  network package into this package. If you're using the @Network.URI@
+  module you can automatically get it from the right package by adding
+  this to your .cabal file:
+  .
+  > flag network-uri
+  >   description: Get Network.URI from the network-uri package
+  >   default: True
+  >
+  > library
+  >   -- ...
+  >   if flag(network-uri)
+  >     build-depends: network-uri >= 2.6, network >= 2.6
+  >   else
+  >     build-depends: network-uri < 2.6, network < 2.6
+  .
+  That is, get the module from either network < 2.6 or from
+  network-uri >= 2.6.
+homepage:            https://github.com/haskell/network-uri
+bug-reports:         https://github.com/haskell/network-uri/issues
+license:             BSD3
+license-file:        LICENSE
+maintainer:          johan.tibell@gmail.com
+category:            Network
+build-type:          Simple
+cabal-version:       >=1.10
+
+library
+  ghc-options: -Wall -fwarn-tabs
+  default-language: Haskell98
+
+source-repository head
+  type:     git
+  location: git://github.com/haskell/network-uri.git
