packages feed

data-object-yaml-0.3.2: data-object-yaml.cabal

name:            data-object-yaml
version:         0.3.2
license:         BSD3
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        Serialize data to and from Yaml files
description:     Provides high level conversions based on the data-object package. Parsing and emitting is handled by the yaml package, which in turn uses the libyaml C library.
category:        Web
stability:       unstable
cabal-version:   >= 1.2
build-type:      Simple
homepage:        http://github.com/snoyberg/data-object-yaml

flag buildtests
  description: Build the executable to run unit tests
  default: False

library
    build-depends:   base >= 4 && < 5,
                     data-object >= 0.3.0 && < 0.4,
                     bytestring >= 0.9.1.4 && < 0.10,
                     text >= 0.7 && < 0.10,
                     failure >= 0.1.0 && < 0.2,
                     transformers >= 0.2 && < 0.3,
                     yaml >= 0.4 && < 0.5,
                     containers >= 0.2.0.0 && < 0.5,
                     enumerator >= 0.4 && < 0.5,
                     MonadCatchIO-transformers >= 0.2.2 && < 0.3,
                     convertible-text >= 0.3.0 && < 0.4
    exposed-modules: Data.Object.Yaml
    ghc-options:     -Wall

executable           runtests
    if flag(buildtests)
        Buildable: True
        cpp-options:     -DTEST
        build-depends:   test-framework,
                         test-framework-hunit,
                         HUnit
    else
        Buildable: False
    ghc-options:     -Wall
    main-is:         runtests.hs