packages feed

happstack-0.3.2: happstack.cabal

Name:                happstack
Version:             0.3.2
Synopsis:            The haskell application server stack + code generation
Description:         The haskell application server stack
License:             BSD3
License-file:        COPYING
Author:              Happstack team, HAppS LLC
Maintainer:          Happstack team <happs@googlegroups.com>
homepage:            http://happstack.com
Category:            Web, Distributed Computing
Build-Type:          Simple
Cabal-Version:       >= 1.6

data-files:          CHANGELOG
                     CREDITS
                     RELEASE_NOTES
                     templates/project/bin/run.bat
                     templates/project/bin/run-interactive.bat
                     templates/project/bin/build.sh
                     templates/project/bin/run-interactive.sh
                     templates/project/bin/run.sh
                     templates/project/bin/build.bat
                     templates/project/Setup.hs
                     templates/project/templates/readme.st
                     templates/project/src/GuestBook.hs
                     templates/project/src/Main.hs
                     templates/project/src/App/Control.hs
                     templates/project/src/App/View.hs
                     templates/project/src/App/State.hs
                     templates/project/src/App/Logger.hs
                     templates/project/src/GuestBook/Control.hs
                     templates/project/src/GuestBook/View.hs
                     templates/project/src/GuestBook/State.hs
                     templates/project/guestbook.cabal
                     templates/project/public/theme/images/menu_hover.gif
                     templates/project/public/theme/images/grunge.gif
                     templates/project/public/theme/images/entrymeta.gif
                     templates/project/public/theme/images/date.gif
                     templates/project/public/theme/images/logo.gif
                     templates/project/public/theme/images/peel.gif
                     templates/project/public/theme/images/menu_hili.gif
                     templates/project/public/theme/images/ql_rss.gif
                     templates/project/public/theme/images/blockquote.gif
                     templates/project/public/theme/images/header_loop.gif
                     templates/project/public/theme/readme.txt
                     templates/project/public/theme/style.css

source-repository head
    type:     darcs
    subdir:   happstack
    location: http://patch-tag.com/publicrepos/happstack

Flag base4
    Description: Choose the even newer, even smaller, split-up base package.

Flag tests
    Description: Build the testsuite, and include the tests in the library
    Default: False

Library
  exposed-modules:     Happstack.Server.HSP.HTML
                       Happstack.Server.HStringTemplate
                       Happstack.State.ClockTime
  if flag(tests)
    Exposed-modules:   Happstack.Tests
  other-modules:       Paths_happstack

  build-depends:       base >= 3,
                       bytestring,
                       happstack-data >= 0.3.2 && < 0.4,
                       happstack-ixset >= 0.3.2 && < 0.4,
                       happstack-server >= 0.3.2 && < 0.4,
                       happstack-state >= 0.3.2 && < 0.4,
                       happstack-util >= 0.3.2 && < 0.4,
                       hslogger,
                       hsp >= 0.4.5 && < 0.5,
                       HStringTemplate >= 0.4.3 && < 0.5,
                       mtl,
                       old-time,
                       utf8-string
                       
  if flag(base4)
    Build-Depends:     base >= 4 && < 5, syb
  else
    build-depends:     haskell-src-exts == 0.3.9,
                       hsx == 0.4.5

  hs-source-dirs:      src
  if flag(tests)
    hs-source-dirs:    tests

  ghc-options:         -Wall

Executable happstack
  ghc-options: -threaded
  build-depends:       directory >= 1,
                       filepath >= 1
                       
  hs-source-dirs:      commands
  main-is:             happstack.hs


Executable happstack-tests
  Main-Is: Test.hs
  GHC-Options: -threaded
  Build-depends: HUnit
  hs-source-dirs: tests, src
  if flag(tests)
    Buildable: True
  else
    Buildable: False