File: hsp.cabal

package info (click to toggle)
haskell-hsp 0.10.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 100 kB
  • sloc: haskell: 459; makefile: 2
file content (63 lines) | stat: -rw-r--r-- 2,411 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Name:                   hsp
Version:                0.10.0
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