forked from dhall-lang/dhall-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdhall-json.cabal
130 lines (124 loc) · 4.26 KB
/
dhall-json.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
Name: dhall-json
Version: 1.7.9
Cabal-Version: >=1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2017 Gabriel Gonzalez
Author: Gabriel Gonzalez
Maintainer: Gabriel439@gmail.com
Bug-Reports: https://github.com/dhall-lang/dhall-haskell/issues
Synopsis: Convert between Dhall and JSON or YAML
Description:
Use this package if you want to convert between Dhall expressions and JSON
or YAML. You can use this package as a library or an executable:
.
* See the "Dhall.JSON" or "Dhall.JSONToDhall" modules if you want to use
this package as a library
.
* Use the @dhall-to-json@, @dhall-to-yaml@, or @json-to-dhall@ programs from
this package if you want an executable
.
The "Dhall.JSON" and "Dhall.JSONToDhall" modules also contains instructions
for how to use this package
Category: Compiler
Extra-Source-Files:
CHANGELOG.md
tasty/data/*.dhall
tasty/data/*.json
tasty/data/error/*.golden
tasty/data/error/*.json
tasty/data/error/*.dhall
Source-Repository head
Type: git
Location: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-json
Library
Hs-Source-Dirs: src
Build-Depends:
base >= 4.11.0.0 && < 5 ,
aeson >= 1.4.6.0 && < 2.1 ,
aeson-pretty >= 0.8.0 && < 0.9 ,
aeson-yaml >= 1.1.0 && < 1.2 ,
bytestring < 0.12,
containers >= 0.5.9 && < 0.7 ,
dhall >= 1.40.0 && < 1.41,
exceptions >= 0.8.3 && < 0.11,
filepath < 1.5 ,
lens-family-core >= 1.0.0 && < 2.2 ,
optparse-applicative >= 0.14.0.0 && < 0.18,
prettyprinter >= 1.7.0 && < 1.8 ,
scientific >= 0.3.0.0 && < 0.4 ,
text >= 0.11.1.0 && < 2.1 ,
unordered-containers < 0.3 ,
vector
Exposed-Modules:
Dhall.JSON
Dhall.JSONToDhall
Dhall.JSON.Yaml
Dhall.DhallToYaml.Main
Other-Modules:
Dhall.JSON.Compat
Dhall.JSON.Util
GHC-Options: -Wall
Default-Language: Haskell2010
Executable dhall-to-json
Hs-Source-Dirs: dhall-to-json
Main-Is: Main.hs
Build-Depends:
base ,
aeson ,
aeson-pretty >= 0.8.5 && < 0.9 ,
bytestring ,
dhall ,
dhall-json ,
optparse-applicative ,
text
Other-Modules:
Paths_dhall_json
GHC-Options: -Wall
Default-Language: Haskell2010
Executable dhall-to-yaml
Hs-Source-Dirs: dhall-to-yaml
Main-Is: Main.hs
Build-Depends:
base ,
dhall-json
Other-Modules:
Paths_dhall_json
GHC-Options: -Wall
Default-Language: Haskell2010
Executable json-to-dhall
Hs-Source-Dirs: json-to-dhall
Main-Is: Main.hs
Build-Depends:
base ,
aeson ,
ansi-terminal >= 0.6.3.1 && < 0.12,
bytestring ,
dhall ,
dhall-json ,
exceptions >= 0.8.3 && < 0.11,
optparse-applicative ,
prettyprinter ,
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
text
Other-Modules:
Paths_dhall_json
GHC-Options: -Wall
Default-Language: Haskell2010
Test-Suite tasty
Type: exitcode-stdio-1.0
Hs-Source-Dirs: tasty
Main-Is: Main.hs
Build-Depends:
base ,
aeson ,
bytestring ,
dhall ,
dhall-json ,
tasty < 1.5,
text ,
tasty-hunit >= 0.2,
tasty-silver >= 3.0
GHC-Options: -Wall
Default-Language: Haskell2010