packages feed

hsp-0.6.0: hsp.cabal

Name:                   hsp
Version:                0.6.0
License:                BSD3
License-File:           LICENSE
Author:                 Niklas Broberg, Joel Bjornson
Maintainer:             Niklas Broberg <niklas.broberg@chalmers.se>

Stability:              Experimental
Category:               Web, Language
Synopsis:               Haskell Server Pages is a library for writing dynamic server-side web pages.
Description:            Haskell Server Pages (HSP) is an extension of vanilla Haskell, targetted at the task of
                        writing dynamic server-side web pages. Features include:
                        .
                        * Embedded XML syntax
                        .
                        * A (low-to-mid-level) programming model for writing dynamic web pages
                        .
                        * A cgi-handler utility (as a separate package, hsp-cgi)
                        .
                        For details on usage, please see the website, and the author's thesis.
Homepage:               http://code.google.com/p/hsp
Build-Type:             Simple
Cabal-Version:          >= 1.2.3
Tested-With:            GHC==6.8.3, GHC==6.10, GHC==7.0.2

Flag base4

Library
  Build-Depends:        base >3 && < 5, mtl, harp, hsx>=0.7.0, HJScript>=0.5.0, text
  if flag(base4)
    Build-depends:      base >= 4 && < 5
    cpp-options:        -DBASE4
  else
    Build-depends:      base >= 3 && < 4
  Hs-Source-Dirs:       src
  Exposed-Modules:      HSP.XML, HSP.XML.PCDATA, HSP.HTML, HSP.Env, HSP.Env.Request, HSP.Env.NumberGen, HSP.HJScript, HSP
  Other-Modules:        HSP.Exception, HSP.Monad, HSP.XMLGenerator

  GHC-Options:          -Wall -fno-warn-orphans
  Extensions:           MultiParamTypeClasses,
                        FunctionalDependencies,
                        TypeFamilies,
                        RankNTypes,
                        PolymorphicComponents,
                        ExistentialQuantification,
                        FlexibleContexts,
                        FlexibleInstances,
                        EmptyDataDecls,
                        CPP,
                        TypeSynonymInstances,
                        OverlappingInstances,
                        UndecidableInstances,
                        PatternGuards