diff options
Diffstat (limited to 'libyaml.cabal')
-rwxr-xr-x | libyaml.cabal | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/libyaml.cabal b/libyaml.cabal new file mode 100755 index 0000000..383cb6a --- /dev/null +++ b/libyaml.cabal @@ -0,0 +1,83 @@ +cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.31.2.
+--
+-- see: https://github.com/sol/hpack
+--
+-- hash: 93d917f62be86415287d10db638b1d5422a21b7a4c5b229fbe16b62c47717555
+
+name: libyaml
+version: 0.1.2
+x-revision: 1
+synopsis: Low-level, streaming YAML interface.
+description: README and API documentation are available at <https://www.stackage.org/package/libyaml>
+category: Text
+stability: stable
+homepage: https://github.com/snoyberg/yaml#readme
+bug-reports: https://github.com/snoyberg/yaml/issues
+author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
+maintainer: Michael Snoyman <michael@snoyman.com>
+license: BSD3
+license-file: LICENSE
+build-type: Simple
+extra-source-files:
+ c/helper.h
+ libyaml_src/yaml_private.h
+ libyaml_src/yaml.h
+ libyaml_src/LICENSE
+ README.md
+ ChangeLog.md
+
+source-repository head
+ type: git
+ location: https://github.com/snoyberg/yaml
+
+flag no-unicode
+ description: Don't enable unicode output. Instead, unicode characters will be escaped.
+ manual: False
+ default: False
+
+flag system-libyaml
+ description: Use the system-wide libyaml instead of the bundled copy
+ manual: False
+ default: False
+
+library
+ exposed-modules:
+ Text.Libyaml
+ other-modules:
+ Paths_libyaml
+ hs-source-dirs:
+ src
+ ghc-options: -Wall
+ include-dirs:
+ c
+ c-sources:
+ c/helper.c
+ build-depends:
+ base >=4.9.1 && <5
+ , bytestring >=0.9.1.4
+ , conduit >=1.2.8 && <1.4
+ , resourcet >=0.3 && <1.4
+ if flag(no-unicode)
+ cpp-options: -D__NO_UNICODE__
+ if !(flag(system-libyaml))
+ include-dirs:
+ libyaml_src
+ c-sources:
+ libyaml_src/api.c
+ libyaml_src/dumper.c
+ libyaml_src/emitter.c
+ libyaml_src/loader.c
+ libyaml_src/parser.c
+ libyaml_src/reader.c
+ libyaml_src/scanner.c
+ libyaml_src/writer.c
+ else
+ extra-libraries:
+ yaml
+ if os(windows)
+ cpp-options: -DWINDOWS
+ build-depends:
+ directory
+ default-language: Haskell2010
|