packages feed

happstack-7.0.0: happstack.cabal

Name:                happstack
Version:             7.0.0
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

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
  if flag(tests)
    Exposed-modules:   Happstack.Tests
  other-modules:       Paths_happstack

  build-depends:       base >= 3 && <5,
                       happstack-server >= 7.0 && < 7.1

  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-tests
  Main-Is: Test.hs
  GHC-Options: -threaded
  hs-source-dirs: tests
  if flag(tests)
    Buildable: True
    Build-depends: HUnit
  else
    Buildable: False