data-object-0.2.1: data-object.cabal
name: data-object
version: 0.2.1
license: BSD3
license-file: LICENSE
author: Michael Snoyman, Nicolas Pouillard
maintainer: Michael Snoyman <michael@snoyman.com>
synopsis: Represent hierachichal structures, called objects in JSON.
description: These objects show up in different places, eg JSON, Yaml.
By providing a representation in a separate repository,
other libraries can share a single representation of
these structures.
category: Data
stability: Stable
cabal-version: >= 1.2
build-type: Simple
homepage: http://github.com/snoyberg/data-object/tree/master
flag buildtests
description: Build the executable to run unit tests
default: False
flag nolib
description: Skip building the library.
default: False
library
if flag(nolib)
Buildable: False
else
Buildable: True
build-depends: base >= 4 && < 5,
bytestring >= 0.9.1.4 && < 1,
text >= 0.5 && < 0.8,
time >= 1.1.4 && < 1.2,
safe-failure >= 0.4 && < 0.5,
old-locale >= 1 && < 1.1,
syb,
attempt >= 0.2.0 && < 0.3,
convertible-text >= 0.2.0 && < 0.3,
template-haskell
exposed-modules: Data.Object
Data.Object.Base
Data.Object.Text
Data.Object.Scalar
Data.Object.String
ghc-options: -Wall
executable runtests
if flag(buildtests)
Buildable: True
cpp-options: -DTEST
build-depends: test-framework,
test-framework-quickcheck,
test-framework-hunit,
HUnit,
QuickCheck >= 1 && < 2
else
Buildable: False
ghc-options: -Wall
main-is: runtests.hs