Name: happstack-data
Version: 0.1
License: BSD3
License-File: COPYING
Author: Happstack team, HAppS LLC
Maintainer: Happstack team <happs@googlegroups.com>
homepage: http://happstack.com
Stability: experimental
Category: Web, Distributed Computing
Synopsis: Happstack data manipulation libraries
Description:
This package provides libraries for:
.
* Deriving instances for your datatypes.
.
* Producing default values of Haskell datatypes.
.
* Normalizing values of Haskell datatypes.
.
* Marshalling Haskell values to and from XML.
.
* Marshalling Haskell values to and from HTML forms.
Tested-With: GHC==6.6.1, GHC==6.8.2
Build-Type: Simple
Cabal-Version: >= 1.2.3
flag base4
Flag tests
Description: Build the testsuite, and include the tests in the library
Default: True
Library
if flag(base4)
Build-Depends: base >=4 && < 5, syb
else
Build-Depends: base < 4
Build-Depends: mtl, template-haskell, syb-with-class >= 0.5, HaXml >= 1.13 && < 1.14,
happstack-util, bytestring, pretty, binary, containers
hs-source-dirs: src
if flag(tests)
hs-source-dirs: tests
Exposed-modules:
HAppS.Data
HAppS.Data.Default
HAppS.Data.Default.Generic
HAppS.Data.DeriveAll
HAppS.Data.HList
HAppS.Data.Migrate
HAppS.Data.Normalize
HAppS.Data.Pairs
HAppS.Data.Xml
HAppS.Data.Xml.HaXml
HAppS.Data.Atom
HAppS.Data.GOps
HAppS.Data.Proxy
HAppS.Data.Serialize
HAppS.Data.SerializeTH
if flag(tests)
Exposed-modules:
HAppS.Data.Tests
HAppS.Data.Tests.HasT001
HAppS.Data.Tests.Xml001
HAppS.Data.Tests.Xml002
HAppS.Data.Tests.Xml003
HAppS.Data.Tests.HList001
HAppS.Data.Tests.HList002
Other-modules:
HAppS.Data.HListBase
HAppS.Data.Xml.Base
HAppS.Data.Xml.Instances
HAppS.Data.Xml.PrintParse
Extensions: TemplateHaskell, FlexibleInstances, UndecidableInstances,
OverlappingInstances, MultiParamTypeClasses, CPP,
FunctionalDependencies, DeriveDataTypeable, FlexibleContexts,
ScopedTypeVariables, GADTs, GeneralizedNewtypeDeriving,
PatternSignatures, TypeSynonymInstances, PatternGuards,
PolymorphicComponents
-- Should also have ", DeriveDataTypeable" but Cabal complains
GHC-Options: -Wall
Executable happstack-data-tests
Main-Is: Test.hs
GHC-Options: -threaded
Build-depends: HUnit
hs-source-dirs: tests, src
if flag(tests)
Buildable: True
else
Buildable: False