@@ -0,0 +1,232 @@
1+cabal-version: 1.12
2+
3+-- This file has been generated from package.yaml by hpack version 0.31.2.
4+--
5+-- see: https://github.com/sol/hpack
6+--
7+-- hash: 1755dcdb4772fa7e743958ba68b120522981238fdcdac9fdc7494a36809ff6ae
8+
9+name: yaml
10+version: 0.11.2.0
11+synopsis: Support for parsing and rendering YAML documents.
12+description: README and API documentation are available at <https://www.stackage.org/package/yaml>
13+category: Data
14+stability: stable
15+homepage: https://github.com/snoyberg/yaml#readme
16+bug-reports: https://github.com/snoyberg/yaml/issues
17+author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
18+maintainer: Michael Snoyman <michael@snoyman.com>
19+license: BSD3
20+license-file: LICENSE
21+build-type: Simple
22+extra-source-files:
23+ test/largest-string.yaml
24+ test/json.yaml
25+ test/resources/foo.yaml
26+ test/resources/bar.yaml
27+ test/resources/baz.yaml
28+ test/resources/accent/foo.yaml
29+ test/resources/loop/foo.yaml
30+ test/resources/loop/bar.yaml
31+ test/resources/empty.yaml
32+ test/resources/empty2.yaml
33+ README.md
34+ ChangeLog.md
35+
36+source-repository head
37+ type: git
38+ location: https://github.com/snoyberg/yaml
39+
40+flag no-examples
41+ description: don't build the examples
42+ manual: False
43+ default: True
44+
45+flag no-exe
46+ description: don't install the yaml2json or json2yaml executables
47+ manual: False
48+ default: True
49+
50+library
51+ exposed-modules:
52+ Data.Yaml
53+ Data.Yaml.Aeson
54+ Data.Yaml.Builder
55+ Data.Yaml.Config
56+ Data.Yaml.Include
57+ Data.Yaml.Internal
58+ Data.Yaml.Parser
59+ Data.Yaml.Pretty
60+ Data.Yaml.TH
61+ other-modules:
62+ Paths_yaml
63+ hs-source-dirs:
64+ src
65+ other-extensions: LambdaCase
66+ ghc-options: -Wall
67+ build-depends:
68+ aeson >=0.11
69+ , attoparsec >=0.11.3.0
70+ , base >=4.9.1 && <5
71+ , bytestring >=0.9.1.4
72+ , conduit >=1.2.8 && <1.4
73+ , containers
74+ , directory
75+ , filepath
76+ , libyaml >=0.1 && <0.2
77+ , mtl
78+ , resourcet >=0.3 && <1.3
79+ , scientific >=0.3
80+ , template-haskell
81+ , text
82+ , transformers >=0.1
83+ , unordered-containers
84+ , vector
85+ if !impl(ghc >= 8.0)
86+ build-depends:
87+ semigroups
88+ default-language: Haskell2010
89+
90+executable examples
91+ main-is: Main.hs
92+ other-modules:
93+ Config
94+ Simple
95+ Paths_yaml
96+ hs-source-dirs:
97+ examples
98+ ghc-options: -Wall
99+ build-depends:
100+ aeson >=0.11
101+ , attoparsec >=0.11.3.0
102+ , base >=4.9.1 && <5
103+ , bytestring >=0.9.1.4
104+ , conduit >=1.2.8 && <1.4
105+ , containers
106+ , directory
107+ , filepath
108+ , libyaml >=0.1 && <0.2
109+ , mtl
110+ , resourcet >=0.3 && <1.3
111+ , scientific >=0.3
112+ , template-haskell
113+ , text
114+ , transformers >=0.1
115+ , unordered-containers
116+ , vector
117+ if !impl(ghc >= 8.0)
118+ build-depends:
119+ semigroups
120+ if flag(no-examples)
121+ buildable: False
122+ else
123+ build-depends:
124+ raw-strings-qq
125+ , yaml
126+ default-language: Haskell2010
127+
128+executable json2yaml
129+ main-is: json2yaml.hs
130+ other-modules:
131+ Paths_yaml
132+ hs-source-dirs:
133+ exe
134+ build-depends:
135+ aeson >=0.11
136+ , attoparsec >=0.11.3.0
137+ , base >=4.9.1 && <5
138+ , bytestring >=0.9.1.4
139+ , conduit >=1.2.8 && <1.4
140+ , containers
141+ , directory
142+ , filepath
143+ , libyaml >=0.1 && <0.2
144+ , mtl
145+ , resourcet >=0.3 && <1.3
146+ , scientific >=0.3
147+ , template-haskell
148+ , text
149+ , transformers >=0.1
150+ , unordered-containers
151+ , vector
152+ , yaml
153+ if !impl(ghc >= 8.0)
154+ build-depends:
155+ semigroups
156+ if flag(no-exe)
157+ buildable: False
158+ default-language: Haskell2010
159+
160+executable yaml2json
161+ main-is: yaml2json.hs
162+ other-modules:
163+ Paths_yaml
164+ hs-source-dirs:
165+ exe
166+ build-depends:
167+ aeson >=0.11
168+ , attoparsec >=0.11.3.0
169+ , base >=4.9.1 && <5
170+ , bytestring >=0.9.1.4
171+ , conduit >=1.2.8 && <1.4
172+ , containers
173+ , directory
174+ , filepath
175+ , libyaml >=0.1 && <0.2
176+ , mtl
177+ , resourcet >=0.3 && <1.3
178+ , scientific >=0.3
179+ , template-haskell
180+ , text
181+ , transformers >=0.1
182+ , unordered-containers
183+ , vector
184+ , yaml
185+ if !impl(ghc >= 8.0)
186+ build-depends:
187+ semigroups
188+ if flag(no-exe)
189+ buildable: False
190+ default-language: Haskell2010
191+
192+test-suite spec
193+ type: exitcode-stdio-1.0
194+ main-is: Spec.hs
195+ other-modules:
196+ Data.Yaml.IncludeSpec
197+ Data.Yaml.THSpec
198+ Data.YamlSpec
199+ Paths_yaml
200+ hs-source-dirs:
201+ test
202+ ghc-options: -Wall "-with-rtsopts=-K1K"
203+ cpp-options: -DTEST
204+ build-depends:
205+ HUnit
206+ , aeson >=0.11
207+ , attoparsec >=0.11.3.0
208+ , base >=4.9.1 && <5
209+ , base-compat
210+ , bytestring >=0.9.1.4
211+ , conduit >=1.2.8 && <1.4
212+ , containers
213+ , directory
214+ , filepath
215+ , hspec >=1.3
216+ , libyaml >=0.1 && <0.2
217+ , mockery
218+ , mtl
219+ , raw-strings-qq
220+ , resourcet >=0.3 && <1.3
221+ , scientific >=0.3
222+ , template-haskell
223+ , temporary
224+ , text
225+ , transformers >=0.1
226+ , unordered-containers
227+ , vector
228+ , yaml
229+ if !impl(ghc >= 8.0)
230+ build-depends:
231+ semigroups
232+ default-language: Haskell2010