property-list-0.0.0.6: property-list.cabal
name: property-list
version: 0.0.0.6
stability: experimental
license: PublicDomain
cabal-version: >= 1.2
build-type: Simple
author: James Cook <james.cook@usma.edu>
maintainer: James Cook <james.cook@usma.edu>
homepage: http://code.haskell.org/~mokus/property-list
category: Data, Parsing
synopsis: XML property list parser
description: Parser, data type and formatter for Apple's XML property list 1.0 format.
flag new-data-object
description: Use the new version of the data-object package (>= 0.0.2)
Which has a "generic object" type in place of the simpler
Object type in previous versions.
default: True
Library
hs-source-dirs: src
exposed-modules: Data.PropertyList
other-modules: Data.PropertyList.Xml
Data.PropertyList.Xml.Dtd
Data.PropertyList.Type
Data.PropertyList.Parse
Data.PropertyList.PropertyListItem
Data.PropertyList.Object
build-depends: base >= 3 && <5,
bytestring,
bytestring-class,
containers,
dataenc,
HaXml >= 1.19,
mtl,
old-locale,
pretty,
time,
template-haskell,
th-fold
if flag(new-data-object)
build-depends: data-object >= 0.0.2
cpp-options: -DNEW_DATA_OBJECT
else
build-depends: data-object < 0.0.2