packages feed

hsp-0.9.2: hsp.cabal

Name:                   hsp
Version:                0.9.2
License:                BSD3
License-File:           LICENSE
Author:                 Niklas Broberg, Joel Bjornson
Maintainer:             Niklas Broberg <niklas.broberg@gmail.com>

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://hub.darcs.net/nibro/hsp
Build-Type:             Simple
Cabal-Version:          >= 1.6
Tested-With:            GHC==7.6.3

source-repository head
    type:     darcs
    location: http://hub.darcs.net/nibro/hsp

Flag base4

Library
  Build-Depends:        base >3 && < 5,
                        mtl,
                        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
                        HSP.HTML4
                        HSP.Monad
                        HSP.XML
                        HSP.XML.PCDATA
                        HSP.XMLGenerator

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