-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
99 lines (91 loc) · 2.3 KB
/
package.yaml
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
name: derive-topdown
version: 0.1.0.0
github: "HaskellZhangSong/derive-topdown"
license: BSD3
author: "Song Zhang"
maintainer: "Song Zhang <Haskell.Zhang.Song@hotmail.com>"
copyright: "(c) 2024 Song Zhang"
extra-source-files:
- README.md
- CHANGELOG.md
synopsis: Derive type class instances
category: Development
description: This package will make it easier to derive class instance for complex composited data types by using Template Haskell.
tested-with: GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
, GHC == 9.6.5
, GHC == 9.8.2
, GHC == 9.10.1
dependencies:
- base >= 4.8 && < 5
- template-haskell
- syb
- primitive
- th-expand-syns
- mtl
- transformers
- containers
- th-abstraction
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Wpartial-fields
- -Wmissing-home-modules
- -Wmissing-export-lists
library:
source-dirs: src
default-extensions:
TemplateHaskell
, StandaloneDeriving
, CPP
exposed-modules:
- Data.Derive.Superclass
- Data.Derive.TopDown.IsInstance
- Data.Derive.TopDown.Instance
- Data.Derive.TopDown.CxtGen
- Data.Derive.TopDown.Standalone
- Data.Derive.TopDown.TH
- Data.Derive.TopDown.Types
- Data.Derive.TopDown
other-modules:
- Data.Derive.TopDown.Lib
tests:
derive-topdown-test:
main: Spec.hs
source-dirs: test
when:
- condition: impl(ghc >= 8.6.1)
then:
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -Wno-missing-signatures
- -Wno-unticked-promoted-constructors
- -Wno-orphans
- -Wno-missing-export-lists
- -Wno-star-is-type
else:
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -Wno-missing-signatures
- -Wno-unticked-promoted-constructors
- -Wno-orphans
- -Wno-missing-export-lists
dependencies:
- derive-topdown
- HUnit
- haskell-src
- binary