2018-10-29 01:32:51 +01:00
|
|
|
Name: dhall-json
|
2019-07-29 06:46:32 +02:00
|
|
|
Version: 1.4.0
|
2018-10-29 01:32:51 +01:00
|
|
|
Cabal-Version: >=1.8.0.2
|
|
|
|
Build-Type: Simple
|
2019-02-12 07:45:34 +01:00
|
|
|
Tested-With: GHC == 7.10.3, GHC == 8.4.3, GHC == 8.6.1
|
2018-10-29 01:32:51 +01:00
|
|
|
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
|
2019-05-30 17:54:35 +02:00
|
|
|
Synopsis: Convert between Dhall and JSON or YAML
|
2018-10-29 01:32:51 +01:00
|
|
|
Description:
|
2019-05-30 17:54:35 +02:00
|
|
|
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:
|
2018-10-29 01:32:51 +01:00
|
|
|
.
|
|
|
|
* See the "Dhall.JSON" module if you want to use this package as a library
|
|
|
|
.
|
|
|
|
* Use the @dhall-to-json@ or @dhall-to-yaml@ programs from this package if
|
|
|
|
you want an executable
|
|
|
|
.
|
|
|
|
The "Dhall.JSON" module also contains instructions for how to use this
|
|
|
|
package
|
|
|
|
Category: Compiler
|
|
|
|
Extra-Source-Files:
|
|
|
|
CHANGELOG.md
|
2019-06-19 02:45:01 +02:00
|
|
|
java/*.java
|
2018-10-29 01:32:51 +01:00
|
|
|
tasty/data/*.dhall
|
|
|
|
tasty/data/*.json
|
2019-06-09 17:17:07 +02:00
|
|
|
tasty/data/*.txt
|
|
|
|
tasty/data/*.yaml
|
2019-06-05 17:01:55 +02:00
|
|
|
|
2019-06-19 02:45:01 +02:00
|
|
|
|
2018-10-29 01:32:51 +01:00
|
|
|
Source-Repository head
|
|
|
|
Type: git
|
|
|
|
Location: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-json
|
|
|
|
|
2019-05-23 14:27:41 +02:00
|
|
|
Flag yaml-pre-0_11
|
|
|
|
Default: False
|
|
|
|
Manual: False
|
|
|
|
|
2018-10-29 01:32:51 +01:00
|
|
|
Library
|
|
|
|
Hs-Source-Dirs: src
|
|
|
|
Build-Depends:
|
|
|
|
base >= 4.8.0.0 && < 5 ,
|
|
|
|
aeson >= 1.0.0.0 && < 1.5 ,
|
2019-05-30 17:54:35 +02:00
|
|
|
aeson-pretty < 0.9 ,
|
2019-05-12 16:44:12 +02:00
|
|
|
bytestring < 0.11,
|
2019-05-30 17:54:35 +02:00
|
|
|
containers ,
|
2019-07-29 06:46:32 +02:00
|
|
|
dhall >= 1.25.0 && < 1.26,
|
2019-05-30 17:54:35 +02:00
|
|
|
exceptions >= 0.8.3 && < 0.11,
|
2019-07-07 13:49:11 +02:00
|
|
|
optparse-applicative >= 0.14.0.0 && < 0.16,
|
2019-05-30 17:54:35 +02:00
|
|
|
scientific >= 0.3.0.0 && < 0.4 ,
|
2018-10-29 01:32:51 +01:00
|
|
|
text >= 0.11.1.0 && < 1.3 ,
|
2019-05-12 16:44:12 +02:00
|
|
|
unordered-containers < 0.3 ,
|
2019-05-23 14:27:41 +02:00
|
|
|
vector
|
2019-05-30 17:54:35 +02:00
|
|
|
Exposed-Modules:
|
|
|
|
Dhall.JSON
|
|
|
|
Dhall.JSONToDhall
|
2019-06-08 05:26:05 +02:00
|
|
|
Dhall.Yaml
|
|
|
|
Dhall.YamlToDhall
|
2019-06-20 03:19:37 +02:00
|
|
|
Other-Modules:
|
|
|
|
Dhall.JSON.Util
|
2019-06-08 05:26:05 +02:00
|
|
|
|
|
|
|
|
2018-10-29 01:32:51 +01:00
|
|
|
GHC-Options: -Wall
|
2019-06-19 02:45:01 +02:00
|
|
|
if impl(eta)
|
2019-05-23 14:27:41 +02:00
|
|
|
Build-Depends:
|
2019-06-19 02:45:01 +02:00
|
|
|
utf8-string >= 1.0 && <= 1.1
|
|
|
|
Maven-Depends:
|
|
|
|
com.fasterxml.jackson.core:jackson-core:2.9.6,
|
|
|
|
com.fasterxml.jackson.core:jackson-databind:2.9.6,
|
|
|
|
com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.6
|
|
|
|
Other-Modules: Dhall.Yaml.Eta
|
|
|
|
Java-Sources: java/Utils.java
|
2019-05-23 14:27:41 +02:00
|
|
|
else
|
2019-06-19 02:45:01 +02:00
|
|
|
if flag(yaml-pre-0_11)
|
|
|
|
Build-Depends:
|
|
|
|
yaml >= 0.5.0 && < 0.11
|
|
|
|
else
|
2019-05-23 14:27:41 +02:00
|
|
|
Build-Depends:
|
|
|
|
libyaml >= 0.1.1.0 && < 0.2 ,
|
|
|
|
yaml >= 0.11.0 && < 0.12
|
|
|
|
|
2018-10-29 01:32:51 +01:00
|
|
|
Executable dhall-to-json
|
|
|
|
Hs-Source-Dirs: dhall-to-json
|
|
|
|
Main-Is: Main.hs
|
|
|
|
Build-Depends:
|
|
|
|
base ,
|
|
|
|
aeson ,
|
2019-06-01 16:10:38 +02:00
|
|
|
aeson-pretty >= 0.8.5 && < 0.9 ,
|
2018-10-29 01:32:51 +01:00
|
|
|
bytestring < 0.11,
|
|
|
|
dhall ,
|
|
|
|
dhall-json ,
|
|
|
|
optparse-applicative ,
|
|
|
|
text
|
2018-11-24 17:35:58 +01:00
|
|
|
Other-Modules:
|
|
|
|
Paths_dhall_json
|
2018-10-29 01:32:51 +01:00
|
|
|
GHC-Options: -Wall
|
|
|
|
|
|
|
|
Executable dhall-to-yaml
|
|
|
|
Hs-Source-Dirs: dhall-to-yaml
|
|
|
|
Main-Is: Main.hs
|
|
|
|
Build-Depends:
|
|
|
|
base ,
|
2019-03-06 23:52:40 +01:00
|
|
|
aeson ,
|
2018-10-29 01:32:51 +01:00
|
|
|
bytestring < 0.11,
|
|
|
|
dhall ,
|
|
|
|
dhall-json ,
|
|
|
|
optparse-applicative ,
|
|
|
|
text
|
|
|
|
GHC-Options: -Wall
|
|
|
|
|
2019-04-15 01:21:38 +02:00
|
|
|
Executable json-to-dhall
|
|
|
|
Hs-Source-Dirs: json-to-dhall
|
|
|
|
Main-Is: Main.hs
|
|
|
|
Build-Depends:
|
2019-07-24 15:33:41 +02:00
|
|
|
base ,
|
|
|
|
aeson ,
|
|
|
|
ansi-terminal >= 0.6.3.1 && < 0.10,
|
|
|
|
bytestring < 0.11,
|
|
|
|
dhall ,
|
|
|
|
dhall-json ,
|
|
|
|
exceptions >= 0.8.3 && < 0.11,
|
|
|
|
optparse-applicative ,
|
|
|
|
prettyprinter >= 1.2.0.1 && < 1.3 ,
|
|
|
|
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
|
|
|
|
text < 1.3
|
2019-05-30 17:54:35 +02:00
|
|
|
if !impl(ghc >= 8.0) && !impl(eta >= 0.8.4)
|
|
|
|
Build-Depends: semigroups == 0.18.*
|
|
|
|
Other-Modules:
|
|
|
|
Paths_dhall_json
|
|
|
|
GHC-Options: -Wall
|
|
|
|
|
|
|
|
Executable yaml-to-dhall
|
|
|
|
Hs-Source-Dirs: yaml-to-dhall
|
|
|
|
Main-Is: Main.hs
|
|
|
|
Build-Depends:
|
2019-07-24 15:33:41 +02:00
|
|
|
base ,
|
|
|
|
aeson ,
|
|
|
|
ansi-terminal >= 0.6.3.1 && < 0.10,
|
|
|
|
bytestring < 0.11 ,
|
|
|
|
dhall ,
|
|
|
|
dhall-json ,
|
|
|
|
exceptions >= 0.8.3 && < 0.11 ,
|
|
|
|
optparse-applicative ,
|
|
|
|
prettyprinter >= 1.2.0.1 && < 1.3 ,
|
|
|
|
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
|
|
|
|
text < 1.3
|
2019-04-15 01:21:38 +02:00
|
|
|
if !impl(ghc >= 8.0) && !impl(eta >= 0.8.4)
|
|
|
|
Build-Depends: semigroups == 0.18.*
|
|
|
|
Other-Modules:
|
|
|
|
Paths_dhall_json
|
|
|
|
GHC-Options: -Wall
|
|
|
|
|
2018-10-29 01:32:51 +01:00
|
|
|
Test-Suite tasty
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
Hs-Source-Dirs: tasty
|
|
|
|
Main-Is: Main.hs
|
|
|
|
Build-Depends:
|
|
|
|
base,
|
|
|
|
aeson ,
|
|
|
|
bytestring ,
|
|
|
|
dhall ,
|
|
|
|
dhall-json ,
|
2018-12-03 17:48:43 +01:00
|
|
|
tasty < 1.3,
|
2018-10-29 01:32:51 +01:00
|
|
|
text ,
|
|
|
|
tasty-hunit >= 0.2
|