-
Notifications
You must be signed in to change notification settings - Fork 7
/
aeson-yaml.cabal
82 lines (75 loc) · 1.96 KB
/
aeson-yaml.cabal
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
cabal-version: 1.12
name: aeson-yaml
version: 1.1.0.1
homepage: https://github.com/clovyr/aeson-yaml
bug-reports: https://github.com/clovyr/aeson-yaml/issues
author: Patrick Nielsen
maintainer: patrick@clovyr.io
copyright: 2019 Clovyr LLC
license: BSD3
license-file: LICENSE
build-type: Simple
category: Text, Web, JSON, YAML
synopsis: Output any Aeson value as YAML (pure Haskell library)
description:
This library exposes functions for encoding any Aeson value as YAML. There
is also support for encoding multiple values into YAML "documents".
.
This library is pure Haskell, and does not depend on C FFI with libyaml. It
is also licensed under the BSD3 license.
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/clovyr/aeson-yaml
flag build-binaries
description: Build the binaries
manual: True
default: False
library
hs-source-dirs: src
exposed-modules:
Data.Aeson.Yaml
build-depends:
aeson >= 0.4.0.0 && < 2.3
, base >= 4.8.2.0 && < 5
, bytestring >= 0.10.4.0 && < 0.13
, text >= 0.1 && < 2.2
, unordered-containers >= 0.1.0.0 && < 0.3
, vector >= 0.1 && < 0.14
ghc-options:
-Wall
default-language: Haskell2010
test-suite test
hs-source-dirs: test
main-is: Driver.hs
other-modules:
Test.Data.Aeson.Yaml
build-depends:
aeson
, aeson-yaml
, base
, bytestring
-- , hedgehog
-- , hedgehog-gen-json
, string-qq
, tasty
, tasty-hunit
, unordered-containers
, yaml
build-tool-depends: tasty-discover:tasty-discover
type: exitcode-stdio-1.0
default-language: Haskell2010
executable json-to-yaml
if !flag(build-binaries)
buildable: False
hs-source-dirs: bin
main-is: JsonToYaml.hs
build-depends:
aeson
, aeson-yaml
, base
, bytestring
ghc-options: -Wall -threaded
default-language: Haskell2010