on master help sign in
typeable/yaml/libyaml/libyaml.cabal
68 lines 1.7 kB history raw
1cabal-version: 1.12
3-- This file has been generated from package.yaml by hpack version 0.36.0.
4--
5-- see: https://github.com/sol/hpack
7name: libyaml
8version: 0.1.4
9synopsis: Low-level, streaming YAML interface.
10description: README and API documentation are available at <https://www.stackage.org/package/libyaml>
11category: Text
12stability: stable
13homepage: https://github.com/snoyberg/yaml#readme
14bug-reports: https://github.com/snoyberg/yaml/issues
15author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
16maintainer: Michael Snoyman <michael@snoyman.com>
17license: BSD3
18license-file: LICENSE
19build-type: Simple
20extra-source-files:
21 include/helper.h
22 README.md
23 ChangeLog.md
25source-repository head
26 type: git
27 location: https://github.com/snoyberg/yaml
29flag no-unicode
30 description: Don't enable unicode output. Instead, unicode characters will be escaped.
31 manual: False
32 default: False
34flag system-libyaml
35 description: Use the system-wide libyaml instead of the bundled copy
36 manual: False
37 default: False
39library
40 exposed-modules:
41 Text.Libyaml
42 other-modules:
43 Paths_libyaml
44 hs-source-dirs:
45 src
46 ghc-options: -Wall
47 include-dirs:
48 include
49 c-sources:
50 c/helper.c
51 build-depends:
52 base >=4.9.1 && <5
53 , bytestring >=0.9.1.4
54 , conduit >=1.2.8 && <1.4
55 , resourcet >=0.3 && <1.4
56 default-language: Haskell2010
57 if flag(no-unicode)
58 cpp-options: -D__NO_UNICODE__
59 if !(flag(system-libyaml))
60 build-depends:
61 libyaml-clib
62 else
63 pkgconfig-depends:
64 yaml-0.1
65 if os(windows)
66 cpp-options: -DWINDOWS
67 build-depends:
68 directory