We at SeeReason Partners have written a cabal->debian converter. It's imperfect, but it works well for simple packages. It relies on some additions we have made to haskell-devscripts in a package called haskell-devscripts-cdbs. Someone wrote a cdbs wrapper for John Goerzen's devscripts and we packaged it up in the -cdbs package, which is used as a build dependency by the packages produced by cabal-debian.
Feel free to use and/or adopt these tools. We have compiled them for Ubuntu Hardy, which is what we are actively using and for Debian sid, but we have not tested these. The sources.list entries are:
deb
http://deb.seereason.com/ubuntu hardy-seereason main
deb-src
http://deb.seereason.com/ubuntu hardy-seereason main
deb
http://deb.seereason.com/debian sid-seereason main
deb-src
http://deb.seereason.com/debian sid-seereason main
These also have ghc 6.8.3 packages built with haddock 2.0.
On Tue, Oct 7, 2008 at 10:16 AM, Magnus Therning
<magnus@therning.org> wrote:
Has a best way for packaging Haskell packages (modules, not binaries)
for Debian crystallised yet?
I'd like to make sure I'm following all the rules to better my chances
of actually getting the package into Sid in the end. What's available
that will help me in this regard?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus
Haskell is an even 'redder' pill than Lisp or Scheme.
-- PaulPotts