-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathpatat.cabal
176 lines (159 loc) · 4.97 KB
/
patat.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
Name: patat
Version: 0.13.0.0
Synopsis: Terminal-based presentations using Pandoc
Description: Terminal-based presentations using Pandoc.
License: GPL-2
License-file: LICENSE
Author: Jasper Van der Jeugt <[email protected]>
Maintainer: Jasper Van der Jeugt <[email protected]>
Homepage: http://github.com/jaspervdj/patat
Copyright: 2016 Jasper Van der Jeugt
Category: Text
Build-type: Simple
Cabal-version: >=1.10
Tested-with: GHC ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.1
Extra-source-files:
CHANGELOG.md
README.md
Source-repository head
Type: git
Location: https://github.com/jaspervdj/patat.git
Flag patat-make-man
Description: Build the executable to generate the man page
Default: False
Manual: True
Library
Ghc-options: -Wall
Hs-source-dirs: lib
Default-language: Haskell2010
Build-depends:
aeson >= 2.0 && < 2.3,
ansi-terminal >= 0.6 && < 1.1,
ansi-wl-pprint >= 0.6 && < 1.1,
async >= 2.2 && < 2.3,
base >= 4.9 && < 5,
base64-bytestring >= 1.0 && < 1.3,
bytestring >= 0.10 && < 0.13,
colour >= 2.3 && < 2.4,
containers >= 0.5 && < 0.7,
directory >= 1.2 && < 1.4,
filepath >= 1.4 && < 1.6,
hashable >= 1.4 && < 1.5,
mtl >= 2.2 && < 2.4,
optparse-applicative >= 0.16 && < 0.19,
pandoc >= 3.1 && < 3.6,
pandoc-types >= 1.23 && < 1.24,
process >= 1.6 && < 1.7,
random >= 1.2 && < 1.3,
skylighting >= 0.10 && < 0.15,
terminal-size >= 0.3 && < 0.4,
text >= 1.2 && < 2.2,
time >= 1.4 && < 1.13,
unordered-containers >= 0.2 && < 0.3,
yaml >= 0.8 && < 0.12,
vector >= 0.13 && < 0.14,
wcwidth >= 0.0 && < 0.1,
-- We don't even depend on these packages but they can break cabal install
-- because of the conflicting 'Network.URI' module.
network-uri >= 2.6,
network >= 2.6
If impl(ghc < 8.0)
Build-depends:
semigroups >= 0.16 && < 0.19
Exposed-modules:
Patat.AutoAdvance
Patat.Cleanup
Patat.EncodingFallback
Patat.Eval
Patat.Eval.Internal
Patat.Images
Patat.Images.Internal
Patat.Images.ITerm2
Patat.Images.Kitty
Patat.Images.W3m
Patat.Main
Patat.Presentation
Patat.Presentation.Comments
Patat.Presentation.Display
Patat.Presentation.Display.CodeBlock
Patat.Presentation.Display.Internal
Patat.Presentation.Display.Table
Patat.Presentation.Fragment
Patat.Presentation.Instruction
Patat.Presentation.Interactive
Patat.Presentation.Internal
Patat.Presentation.Read
Patat.Presentation.Settings
Patat.PrettyPrint
Patat.PrettyPrint.Internal
Patat.PrettyPrint.Matrix
Patat.Size
Patat.Theme
Patat.Transition
Patat.Transition.Internal
Patat.Transition.Dissolve
Patat.Transition.Matrix
Patat.Transition.SlideLeft
Other-modules:
Control.Concurrent.Chan.Extended
Data.Aeson.Extended
Data.Aeson.TH.Extended
Data.Char.WCWidth.Extended
Data.Data.Extended
Data.Sequence.Extended
Paths_patat
Text.Pandoc.Extended
Executable patat
Main-is: Main.hs
Ghc-options: -Wall -threaded -rtsopts "-with-rtsopts=-N"
Hs-source-dirs: src
Default-language: Haskell2010
Build-depends: base, patat
Executable patat-make-man
Main-is: make-man.hs
Ghc-options: -Wall
Hs-source-dirs: extra
Default-language: Haskell2010
If flag(patat-make-man)
Buildable: True
Else
Buildable: False
Build-depends:
base >= 4.9 && < 5,
containers >= 0.6 && < 0.8,
doctemplates >= 0.8 && < 0.12,
mtl >= 2.2 && < 2.4,
pandoc >= 3.1 && < 3.6,
text >= 1.2 && < 2.2,
time >= 1.6 && < 1.13
Test-suite patat-tests
Main-is: Main.hs
Ghc-options: -Wall
Hs-source-dirs: tests/haskell
Type: exitcode-stdio-1.0
Default-language: Haskell2010
Other-modules:
Patat.Presentation.Interactive.Tests
Patat.Presentation.Read.Tests
Patat.PrettyPrint.Matrix.Tests
Build-depends:
patat,
ansi-terminal >= 0.6 && < 1.1,
base >= 4.8 && < 5,
directory >= 1.2 && < 1.4,
pandoc >= 3.1 && < 3.6,
tasty >= 1.2 && < 1.6,
tasty-hunit >= 0.10 && < 0.11,
tasty-quickcheck >= 0.10 && < 0.11,
text >= 1.2 && < 2.2,
QuickCheck >= 2.8 && < 2.15
Test-suite patat-goldplate
Main-is: Main.hs
Ghc-options: -Wall
Hs-source-dirs: tests/golden
Type: exitcode-stdio-1.0
Default-language: Haskell2010
Build-tool-depends: patat:patat
Build-depends:
base >= 4.8 && < 5,
goldplate >= 0.2.2.1 && < 0.3