-
Notifications
You must be signed in to change notification settings - Fork 1
/
dhall-recursive-adt.cabal
61 lines (54 loc) · 1.83 KB
/
dhall-recursive-adt.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
cabal-version: 2.4
name: dhall-recursive-adt
version: 0.1.0.1
synopsis: Convert recursive ADTs from and to Dhall
description:
Convert recursive ADTs from and to Dhall by automating derivation of @FromDhall@/@ToDhall@ as much as possible
category: Dhall
homepage: https://github.com/amesgen/dhall-recursive-adt
bug-reports: https://github.com/amesgen/dhall-recursive-adt/issues
license: CC0-1.0
license-file: LICENSE
extra-source-files: README.md
author: amesgen
maintainer: [email protected]
extra-source-files:
CHANGELOG.md
test/tree.dhall
source-repository head
location: https://github.com/amesgen/dhall-recursive-adt
type: git
common commons
default-language: Haskell2010
ghc-options: -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists -fno-warn-name-shadowing -fhide-source-paths
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
default-extensions: BlockArguments ConstraintKinds DeriveAnyClass DeriveFoldable DeriveGeneric DeriveTraversable DerivingVia FlexibleContexts GeneralizedNewtypeDeriving LambdaCase ScopedTypeVariables StandaloneDeriving TypeApplications TypeFamilies OverloadedStrings
library
import: commons
hs-source-dirs: src
exposed-modules:
Dhall.Deriving.Recursive
build-depends:
base >= 4.14 && < 5
, dhall >= 1.38 && < 1.43
, data-fix ^>= 0.3
, recursion-schemes ^>= 5.2
test-suite tasty
import: commons
type: exitcode-stdio-1.0
main-is: Tasty.hs
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, dhall-recursive-adt
, dhall
, either ^>= 5
, recursion-schemes
, tasty >= 1.3 && <= 1.5
, tasty-hunit ^>= 0.10
, tasty-hedgehog >= 1.0 && < 1.5
, hedgehog >= 1.0 && < 1.5