on master help sign in
Check in generated cabal files (closes #176)

See https://github.com/commercialhaskell/stack/issues/5210

commit3ab3fd94fce20a8776a4f92ed99d99972e1aa067 authorMichael Snoyman <michael@snoyman.com> dateSun 8 Mar 2020, 06:11 (7 years ago) parent6c0fd1e
4 files changed+314−4
.gitignore−1 libyaml/.gitignore−3 libyaml/libyaml.cabal+82 yaml/yaml.cabal+232
.gitignore−1
@@ -5,7 +5,6 @@ cabal-dev/
55cabal.sandbox.config
66.stack-work/
77*~
8−yaml.cabal
98/tarballs/
109.dir-locals.el
1110*#
libyaml/.gitignoredeleted−3
@@ -1,3 +0,0 @@
1−.stack-work/
2−libyaml.cabal
3−*~
libyaml/libyaml.cabalnew file+82
@@ -0,0 +1,82 @@
1+cabal-version: 1.12
2+
3+-- This file has been generated from package.yaml by hpack version 0.33.0.
4+--
5+-- see: https://github.com/sol/hpack
6+--
7+-- hash: 93d917f62be86415287d10db638b1d5422a21b7a4c5b229fbe16b62c47717555
8+
9+name: libyaml
10+version: 0.1.2
11+synopsis: Low-level, streaming YAML interface.
12+description: README and API documentation are available at <https://www.stackage.org/package/libyaml>
13+category: Text
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+ c/helper.h
24+ libyaml_src/yaml_private.h
25+ libyaml_src/yaml.h
26+ libyaml_src/LICENSE
27+ README.md
28+ ChangeLog.md
29+
30+source-repository head
31+ type: git
32+ location: https://github.com/snoyberg/yaml
33+
34+flag no-unicode
35+ description: Don't enable unicode output. Instead, unicode characters will be escaped.
36+ manual: False
37+ default: False
38+
39+flag system-libyaml
40+ description: Use the system-wide libyaml instead of the bundled copy
41+ manual: False
42+ default: False
43+
44+library
45+ exposed-modules:
46+ Text.Libyaml
47+ other-modules:
48+ Paths_libyaml
49+ hs-source-dirs:
50+ src
51+ ghc-options: -Wall
52+ include-dirs:
53+ c
54+ c-sources:
55+ c/helper.c
56+ build-depends:
57+ base >=4.9.1 && <5
58+ , bytestring >=0.9.1.4
59+ , conduit >=1.2.8 && <1.4
60+ , resourcet >=0.3 && <1.3
61+ if flag(no-unicode)
62+ cpp-options: -D__NO_UNICODE__
63+ if !(flag(system-libyaml))
64+ include-dirs:
65+ libyaml_src
66+ c-sources:
67+ libyaml_src/api.c
68+ libyaml_src/dumper.c
69+ libyaml_src/emitter.c
70+ libyaml_src/loader.c
71+ libyaml_src/parser.c
72+ libyaml_src/reader.c
73+ libyaml_src/scanner.c
74+ libyaml_src/writer.c
75+ else
76+ extra-libraries:
77+ yaml
78+ if os(windows)
79+ cpp-options: -DWINDOWS
80+ build-depends:
81+ directory
82+ default-language: Haskell2010
yaml/yaml.cabalnew file+232
@@ -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