--- haskell-qio-1.0.orig/debian/rules
+++ haskell-qio-1.0/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+DEB_BUILD_DEPENDENCIES = build-arch
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
--- haskell-qio-1.0.orig/debian/watch
+++ haskell-qio-1.0/debian/watch
@@ -0,0 +1,6 @@
+# See uscan(1) for format
+
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,filenamemangle=s|(.*)/$|QIO-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/QIO \
+    ([\d\.]*\d)/
--- haskell-qio-1.0.orig/debian/control
+++ haskell-qio-1.0/debian/control
@@ -0,0 +1,63 @@
+Source: haskell-qio
+Section: haskell
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
+Uploaders: Iain Lane <laney@ubuntu.com>
+Build-Depends: debhelper (>= 7),
+               cdbs,
+               haskell-devscripts (>= 0.7),
+               ghc6 ,
+               ghc6-prof,
+               ghc6-doc,
+               libghc6-mtl-dev,
+               libghc6-mtl-prof,
+               libghc6-mtl-doc
+Standards-Version: 3.8.4
+Homepage: http://www.cs.nott.ac.uk/~asg/QIO/
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-qio
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-qio
+
+Package: libghc6-qio-dev
+Architecture: any
+Depends: ${haskell:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: a language for defining quantum computations
+ This package provides a library for the Haskell programming language.
+ See http://www.haskell.org/ for more information on Haskell.
+ .
+ The Quantum IO Monad is a library for defining quantum computations in Haskell
+ .
+ This package contains the development files.
+
+Package: libghc6-qio-prof
+Architecture: any
+Depends: ${haskell:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Provides: ${haskell:Provides}
+Description: a language for defining quantum computations; profiling libraries
+ This package provides a library for the Haskell programming language,
+ compiled for profiling.
+ See http://www.haskell.org/ for more information on Haskell.
+ .
+ The Quantum IO Monad is a library for defining quantum computations in Haskell
+ .
+ This package contains the profiling libraries.
+
+Package: libghc6-qio-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: a language for defining quantum computations; documentation
+ This package provides the documentation for a library for the Haskell
+ programming language.
+ See http://www.haskell.org/ for more information on Haskell.
+ .
+ The Quantum IO Monad is a library for defining quantum computations in Haskell
+ .
+ This package contains the hyperlinked html documentation.
--- haskell-qio-1.0.orig/debian/copyright
+++ haskell-qio-1.0/debian/copyright
@@ -0,0 +1,33 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Name: QIO
+Upstream-Maintainer: Alexander S. Green <asg@cs.nott.ac.uk>
+Upstream-Source: http://hackage.haskell.org/package/QIO
+
+Files: *
+Copyright: 2010, Alexander S. Green <asg@cs.nott.ac.uk>
+License: BSD
+
+Files: debian/*
+Copyright: 2010, Iain Lane <laney@ubuntu.com>
+License: BSD
+
+License: BSD
+ 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.
+ .
+ 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 HOLDER 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.
--- haskell-qio-1.0.orig/debian/compat
+++ haskell-qio-1.0/debian/compat
@@ -0,0 +1 @@
+7
--- haskell-qio-1.0.orig/debian/changelog
+++ haskell-qio-1.0/debian/changelog
@@ -0,0 +1,18 @@
+haskell-qio (1.0-2) unstable; urgency=low
+
+  [ Marco Túlio Gontijo e Silva ]
+  * debian/control: Remove dependency in hscolour, since it's now a
+    dependency of haskell-devscripts.
+  * debian/control: Remove haddock from Build-Depends:, since it's now a
+    Depends: of haskell-devscripts.
+
+  [ Joachim Breitner ]
+  * Bump haskell-devscripts dependency to 0.7
+
+ -- Joachim Breitner <nomeata@debian.org>  Sat, 20 Feb 2010 17:54:42 +0100
+
+haskell-qio (1.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #567632)
+
+ -- Iain Lane <laney@ubuntu.com>  Fri, 29 Jan 2010 15:41:52 +0000
