name: yaml version: 0.2.1 license: BSD3 license-file: LICENSE author: Michael Snoyman maintainer: Michael Snoyman synopsis: Low-level binding to the libyaml C library. description: Provides support for parsing and emitting Yaml documents. Includes the full C library in the package so you don't need to worry about any non-Haskell dependencies. category: Web stability: unstable cabal-version: >= 1.2 build-type: Simple homepage: http://github.com/snoyberg/yaml/ extra-source-files: c/helper.h, c/yaml_private.h, c/yaml.h flag transformers_02 description: transformers = 0.2.* flag buildtests description: Build the executable to run unit tests default: False flag nolib description: Skip building of the library default: False library if flag(nolib) Buildable: False else Buildable: True build-depends: base >= 4 && < 5, control-monad-failure >= 0.6.0 && < 0.7, bytestring >= 0.9.1.4 && < 0.10 exposed-modules: Text.Libyaml if flag(transformers_02) build-depends: transformers >= 0.2 && < 0.3 CPP-OPTIONS: -DTRANSFORMERS_02 else build-depends: transformers >= 0.1 && < 0.2 ghc-options: -Wall c-sources: c/helper.c, c/api.c, c/dumper.c, c/emitter.c, c/loader.c, c/parser.c, c/reader.c, c/scanner.c, c/writer.c include-dirs: c executable runtests if flag(buildtests) Buildable: True cpp-options: -DTEST build-depends: test-framework, test-framework-quickcheck2, test-framework-hunit, HUnit, QuickCheck >= 2 && < 3, base >= 4 && < 5, bytestring >= 0.9.1.4 && < 0.10 if flag(transformers_02) build-depends: transformers >= 0.2 && < 0.3 CPP-OPTIONS: -DTRANSFORMERS_02 else build-depends: transformers >= 0.1 && < 0.2 else Buildable: False ghc-options: -Wall c-sources: c/helper.c, c/api.c, c/dumper.c, c/emitter.c, c/loader.c, c/parser.c, c/reader.c, c/scanner.c, c/writer.c include-dirs: c main-is: runtests.hs