-
Notifications
You must be signed in to change notification settings - Fork 19
/
dhall-to-cabal.cabal
195 lines (178 loc) · 6.65 KB
/
dhall-to-cabal.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
cabal-version: 2.4
-- * * * * * * * * * * * * WARNING * * * * * * * * * * * *
-- This file has been AUTO-GENERATED by dhall-to-cabal.
--
-- Do not edit it by hand, because your changes will be over-written!
--
-- Instead, edit the source Dhall file, namely
-- 'dhall-to-cabal.dhall', and re-generate this file by running
-- 'dhall-to-cabal -- dhall-to-cabal.dhall'.
-- * * * * * * * * * * * * WARNING * * * * * * * * * * * *
name: dhall-to-cabal
version: 1.3.4.0
license: MIT
license-file: LICENSE
maintainer: [email protected]
author: Ollie Charles <[email protected]>
homepage: https://github.com/ocharles/dhall-to-cabal
bug-reports: https://github.com/ocharles/dhall-to-cabal/issues
synopsis: Compile Dhall expressions to Cabal files
description:
dhall-to-cabal takes Dhall expressions and compiles them into Cabal
files. All of the features of Dhall are supported, such as let
bindings and imports, and all features of Cabal are supported
(including conditional stanzas).
.
category: Distribution
build-type: Simple
extra-source-files:
Changelog.md
README.md
dhall/**/*.dhall
golden-tests/dhall-to-cabal/*.dhall
golden-tests/dhall-to-cabal/*.cabal
golden-tests/cabal-to-dhall/*.dhall
golden-tests/cabal-to-dhall/*.cabal
source-repository head
type: git
location: https://github.com/ocharles/dhall-to-cabal
library
exposed-modules:
CabalToDhall
DhallLocation
DhallToCabal
DhallToCabal.FactorType
DhallToCabal.Util
hs-source-dirs: lib
other-modules:
DhallToCabal.ConfigTree
DhallToCabal.Diff
Dhall.Extra
Paths_dhall_to_cabal
autogen-modules: Paths_dhall_to_cabal
default-language: Haskell2010
other-extensions:
ApplicativeDo GADTs GeneralizedNewtypeDeriving LambdaCase
OverloadedStrings RecordWildCards TypeApplications
ghc-options:
-Weverything -Wno-safe -Wno-unsafe -Wno-implicit-prelude
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-missing-import-lists -Wno-missing-local-signatures
-Wno-monomorphism-restriction -fno-warn-name-shadowing
build-depends:
base ^>=4.10 || ^>=4.11 || ^>=4.12,
dhall ^>=1.26.0,
Cabal ^>=3.0,
bytestring ^>=0.10,
containers ^>=0.5 || ^>=0.6,
contravariant ^>=1.4 || ^>=1.5,
filepath ^>=1.4,
microlens ^>=0.1.0.0 || ^>=0.2.0.0 || ^>=0.3.0.0 || ^>=0.4.0.0,
text ^>=1.2,
transformers ^>=0.5.2,
vector ^>=0.12
executable dhall-to-cabal
main-is: Main.hs
hs-source-dirs: exe
other-modules: Paths_dhall_to_cabal
autogen-modules: Paths_dhall_to_cabal
default-language: Haskell2010
other-extensions: NamedFieldPuns
ghc-options:
-Weverything -Wno-safe -Wno-unsafe -Wno-implicit-prelude
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-missing-import-lists -Wno-missing-local-signatures
-Wno-monomorphism-restriction -fno-warn-name-shadowing
build-depends:
base ^>=4.10 || ^>=4.11 || ^>=4.12,
dhall ^>=1.26.0,
Cabal ^>=3.0,
containers ^>=0.5 || ^>=0.6,
dhall-to-cabal -any,
directory ^>=1.3.0.2,
filepath ^>=1.4,
microlens ^>=0.1.0.0 || ^>=0.2.0.0 || ^>=0.3.0.0 || ^>=0.4.0.0,
optparse-applicative ^>=0.13.2 || ^>=0.14 || ^>=0.15,
prettyprinter ^>=1.2.0.1 || ^>=1.3.0,
text ^>=1.2,
transformers ^>=0.5.2
executable cabal-to-dhall
main-is: Main.hs
hs-source-dirs: cabal-to-dhall
other-modules: Paths_dhall_to_cabal
autogen-modules: Paths_dhall_to_cabal
default-language: Haskell2010
other-extensions: NamedFieldPuns
ghc-options:
-Weverything -Wno-safe -Wno-unsafe -Wno-implicit-prelude
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-missing-import-lists -Wno-missing-local-signatures
-Wno-monomorphism-restriction -fno-warn-name-shadowing
build-depends:
base ^>=4.10 || ^>=4.11 || ^>=4.12,
dhall ^>=1.26.0,
bytestring ^>=0.10,
dhall-to-cabal -any,
optparse-applicative ^>=0.13.2 || ^>=0.14 || ^>=0.15,
prettyprinter ^>=1.2.0.1 || ^>=1.3.0,
text ^>=1.2
executable dhall-to-cabal-meta
main-is: Main.hs
scope: private
hs-source-dirs: meta
default-language: Haskell2010
ghc-options:
-Weverything -Wno-safe -Wno-unsafe -Wno-implicit-prelude
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-missing-import-lists -Wno-missing-local-signatures
-Wno-monomorphism-restriction -fno-warn-name-shadowing
build-depends:
base ^>=4.10 || ^>=4.11 || ^>=4.12,
dhall ^>=1.26.0,
directory ^>=1.3.0.2,
dhall-to-cabal -any,
filepath ^>=1.4,
optparse-applicative ^>=0.13.2 || ^>=0.14 || ^>=0.15,
prettyprinter ^>=1.2.0.1 || ^>=1.3.0
test-suite golden-tests
type: exitcode-stdio-1.0
main-is: GoldenTests.hs
hs-source-dirs: golden-tests
default-language: Haskell2010
ghc-options:
-Weverything -Wno-safe -Wno-unsafe -Wno-implicit-prelude
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-missing-import-lists -Wno-missing-local-signatures
-Wno-monomorphism-restriction -fno-warn-name-shadowing
build-depends:
base ^>=4.10 || ^>=4.11 || ^>=4.12,
dhall ^>=1.26.0,
Cabal ^>=3.0,
Diff ^>=0.3.4,
bytestring ^>=0.10,
dhall-to-cabal -any,
filepath ^>=1.4,
microlens ^>=0.1.0.0 || ^>=0.2.0.0 || ^>=0.3.0.0 || ^>=0.4.0.0,
prettyprinter ^>=1.2.0.1 || ^>=1.3.0,
tasty ^>=0.11 || ^>=0.12 || ^>=1.0 || ^>=1.1 || ^>=1.2,
tasty-golden ^>=2.3,
text ^>=1.2
test-suite unit-tests
type: exitcode-stdio-1.0
main-is: Tests.hs
hs-source-dirs: tests
other-modules: DhallToCabal.Tests
default-language: Haskell2010
ghc-options:
-Weverything -Wno-safe -Wno-unsafe -Wno-implicit-prelude
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-missing-import-lists -Wno-missing-local-signatures
-Wno-monomorphism-restriction -fno-warn-name-shadowing
build-depends:
base ^>=4.10 || ^>=4.11 || ^>=4.12,
dhall ^>=1.26.0,
Cabal ^>=3.0,
dhall-to-cabal -any,
tasty ^>=0.11 || ^>=0.12 || ^>=1.0 || ^>=1.1 || ^>=1.2,
tasty-hunit ^>=0.10.0.1,
text ^>=1.2