packages feed

happstack-6.0.5: happstack.cabal

Name:                happstack
Version:             6.0.5
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/COPYING
                     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/guestbook.cabal
                     templates/project/src/Pages/PostEntry.hs
                     templates/project/src/Pages/AppTemplate.hs
                     templates/project/src/Pages/Readme.hs
                     templates/project/src/Pages/Common.hs
                     templates/project/src/Pages/GuestBookEntries.hs
                     templates/project/src/State/GuestBook.hs
                     templates/project/src/Types/GuestBook.hs
                     templates/project/src/State.hs
                     templates/project/src/Main.hs
                     templates/project/src/Routes.hs
                     templates/project/src/Pages.hs
                     templates/project/src/Logger.hs
                     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/r/mae/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.State.ClockTime                       
  if flag(tests)
    Exposed-modules:   Happstack.Tests
  other-modules:       Paths_happstack

  build-depends:       base >= 3,
                       happstack-data   >= 6.0 && < 6.1,
                       happstack-ixset  >= 6.0 && < 6.2,
                       happstack-server >= 6.0 && < 6.5,
                       happstack-state  >= 6.0 && < 6.2,
                       happstack-util   >= 6.0 && < 6.1,
                       old-time

                       
  if flag(base4)
    Build-Depends:     base >= 4 && < 5, syb
  else
    build-depends:     haskell-src-exts == 0.3.9,
                       HStringTemplate < 0.6

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

  if impl(ghc >= 6.12)
     ghc-options:      -Wall -fno-warn-unused-do-bind
  else
     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
  hs-source-dirs: tests, src
  if flag(tests)
    Buildable: True
    Build-depends: HUnit
  else
    Buildable: False