packages feed

HAppS-Server-0.9.3: HAppS-Server.cabal

Name:                HAppS-Server
Version:             0.9.3
Synopsis:            Web related tools and services.
Description:         Web framework
License:             BSD3
License-file:        COPYING
Author:              HAppS LLC
Maintainer:          AlexJacobson@HAppS.org
Category:            Web, Distributed Computing
Build-Type:          Simple
Cabal-Version:       >= 1.2

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

Library

  Exposed-modules:
                       HAppS.Server,
                       HAppS.Server.Cookie,
                       HAppS.Server.HTTP.Client,
                       HAppS.Server.HTTP.Types,
                       HAppS.Server.HTTP.LowLevel,
                       HAppS.Server.HTTP.FileServe,
                       HAppS.Server.SimpleHTTP,
                       HAppS.Server.JSON,
                       HAppS.Server.MessageWrap,
                       HAppS.Server.MinHaXML,
                       HAppS.Server.SURI,
                       HAppS.Server.XSLT,
                       HAppS.Server.Facebook
                       HAppS.Server.Cron
                       HAppS.Server.StdConfig
                       HAppS.Store.Util
                       HAppS.Store.FlashMsgs
                       HAppS.Store.HelpReqs
  Other-modules:       
                       HAppS.Server.S3,
                       HAppS.Server.HTTPClient.HTTP,
                       HAppS.Server.HTTPClient.Stream,
                       HAppS.Server.HTTPClient.TCP,
                       HAppS.Server.HTTP.Clock,
                       HAppS.Server.HTTP.Handler,
                       HAppS.Server.HTTP.LazyLiner,
                       HAppS.Server.HTTP.Listen,
                       HAppS.Server.HTTP.Multipart,
                       HAppS.Server.HTTP.RFC822Headers,
                       HAppS.Server.SURI.ParseURI
  if impl(ghc >= 6.10)
    Build-Depends:     parsec < 3, syb
  else
    Build-Depends:     parsec >= 3 && < 4
  Build-Depends:       base, HaXml >= 1.13 && < 1.14, parsec, mtl, network,
                       hslogger >= 1.0.2, HAppS-Data>=0.9.2, HAppS-Util>=0.9.2,
                       HAppS-State>=0.9.2, HAppS-IxSet>=0.9.2, HTTP, template-haskell, xhtml, html,
                       bytestring, random, containers, old-time, old-locale, directory, process
  hs-source-dirs:      src

  if !os(windows)
     Build-Depends:    unix
     cpp-options:      -DUNIX
  if flag(base4)
    Build-Depends: base >=4
    cpp-options:      -DEXCEPTION_TYPE=SomeException -DEXTENSIBLE_EXCEPTIONS
  else
    cpp-options:      -DEXCEPTION_TYPE=Exception

  -- Should have ", DeriveDataTypeable, PatternSignatures" but Cabal complains
  Extensions:          CPP, UndecidableInstances
  ghc-options:         -W -fno-warn-incomplete-patterns
  GHC-Prof-Options:    -auto-all