File: libyaml.cabal

package info (click to toggle)
haskell-libyaml 0.1.4-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104 kB
  • sloc: haskell: 673; ansic: 184; makefile: 6
file content (68 lines) | stat: -rw-r--r-- 1,743 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

name:           libyaml
version:        0.1.4
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:
    include/helper.h
    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:
      include
  c-sources:
      c/helper.c
  build-depends:
      base >=4.14 && <5
    , bytestring >=0.9.1.4
    , conduit >=1.2.8 && <1.4
    , resourcet >=0.3 && <1.4
  default-language: Haskell2010
  if flag(no-unicode)
    cpp-options: -D__NO_UNICODE__
  if !(flag(system-libyaml))
    build-depends:
        libyaml-clib
  else
    pkgconfig-depends:
        yaml-0.1
  if os(windows)
    cpp-options: -DWINDOWS
    build-depends:
        directory