"yesod" package etc.
On Mon, Sep 19, 2011 at 11:30:04PM +0200, Joachim Breitner wrote:
> Do you have a blog? If so, why don’t you blog about putting yesod in
> Debian. It certainly is something we can show off with a bit. (Although
> I’m curious whether we are actually affected by
> http://hackage.haskell.org/trac/ghc/ticket/5289 (fixed upstream for 7.4,
> which will be released in due time) and
> http://hackage.haskell.org/trac/ghc/ticket/5386 (actually
> http://hackage.haskell.org/trac/ghc/ticket/5435, currently not fixed).)
Unless I learn Yesod, my only real test case is the hledger-web head/tip,
and I haven't had time to try that yet.
On Mon, Sep 19, 2011 at 11:42:33PM +0200, Iustin Pop wrote:
> Indeed, please do blog about this! I'm personally very happy that yesod
> is finally in Debian (and now I don't have any excuse not to opensource
> a small tool based on yesod :).
I'll try to compose something soon.
On Tue, Sep 20, 2011 at 11:34:48AM +0200, Joachim Breitner wrote:
> I see that you put the yesod binary in a separate package. Is it really
> useful without libghc-yesod-dev? It does not even depend, suggest or
> recommend that, and the description gives the user no hint what this
> package contains.
>
> Maybe the binary should just be put into libghc-yesod-dev? OTOH, having
> users being able to just apt-get install yesod is also nice.
Unless the Haskell libraries are meant to be multiarch-incompatible,
that would seem like a no-no. I think the yesod binary package
should definitely express relationships:
Below is from a generated .cabal file; yesod should probably
Recommend those libraries, and either Recommend or Suggest
persistent-postgresql, persistent-mongoDB, mongoDB, and bson.
(This also means we need to package yesod-static and those.)
build-depends: base >= 4 && < 5
, yesod >= 0.9 && < 0.10
, yesod-core
, yesod-auth
, yesod-static
, blaze-html
, yesod-form
, mime-mail
, clientsession
, wai-extra
, directory
, bytestring
, text
, persistent
, persistent-template
, persistent-sqlite >= 0.6 && < 0.7
, persistent-sqlite >= 0.6 && < 0.7
, template-haskell
, hamlet >= 0.10 && < 0.11
, shakespeare-css >= 0.10 && < 0.11
, shakespeare-js >= 0.10 && < 0.11
, shakespeare-text >= 0.10 && < 0.11
, hjsmin
, transformers
, data-object
, data-object-yaml
, warp
, blaze-builder
, cmdargs
Reply to: