-
Notifications
You must be signed in to change notification settings - Fork 64
/
xlsx.cabal
205 lines (192 loc) · 7.3 KB
/
xlsx.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
Name: xlsx
Version: 1.1.2.2
Synopsis: Simple and incomplete Excel file parser/writer
Description:
This library can help you to get some data read and written in Office
Open XML xlsx format. Small subset of xlsx format is supported.
.
For examples look into "Codec.Xlsx".
.
Format is covered by ECMA-376 standard:
<https://ecma-international.org/publications-and-standards/standards/ecma-376/>
.
4th edition of the standard with the transitional schema is used for this library.
Extra-source-files:
CHANGELOG.markdown
data/inline-strings.xlsx
data/floats.xlsx
Homepage: https://github.com/qrilka/xlsx
Bug-Reports: https://github.com/qrilka/xlsx/issues
License: MIT
License-file: LICENSE
Author: Tim, Max, Kirill Zaborsky
Maintainer: [email protected]
Category: Codec
Build-type: Simple
Tested-with: GHC == 9.0.2, GHC == 9.2.8, GHC == 9.4.5, GHC == 9.6.2
Cabal-version: >=1.10
Flag microlens
default: False
description: Use microlens instead of lens
Library
Hs-source-dirs: src
ghc-options: -Wall
Exposed-modules: Codec.Xlsx
, Codec.Xlsx.Types
, Codec.Xlsx.Formatted
, Codec.Xlsx.Lens
, Codec.Xlsx.Parser
, Codec.Xlsx.Parser.Internal
, Codec.Xlsx.Parser.Internal.Fast
, Codec.Xlsx.Parser.Internal.Util
, Codec.Xlsx.Parser.Internal.PivotTable
, Codec.Xlsx.Types.AutoFilter
, Codec.Xlsx.Types.Cell
, Codec.Xlsx.Types.Comment
, Codec.Xlsx.Types.Common
, Codec.Xlsx.Types.ConditionalFormatting
, Codec.Xlsx.Types.DataValidation
, Codec.Xlsx.Types.Drawing
, Codec.Xlsx.Types.Drawing.Chart
, Codec.Xlsx.Types.Drawing.Common
, Codec.Xlsx.Types.Internal
, Codec.Xlsx.Types.Internal.CfPair
, Codec.Xlsx.Types.Internal.CommentTable
, Codec.Xlsx.Types.Internal.ContentTypes
, Codec.Xlsx.Types.Internal.CustomProperties
, Codec.Xlsx.Types.Internal.DvPair
, Codec.Xlsx.Types.Internal.FormulaData
, Codec.Xlsx.Types.Internal.Relationships
, Codec.Xlsx.Types.Internal.SharedStringTable
, Codec.Xlsx.Types.PageSetup
, Codec.Xlsx.Types.PivotTable
, Codec.Xlsx.Types.PivotTable.Internal
, Codec.Xlsx.Types.Protection
, Codec.Xlsx.Types.RichText
, Codec.Xlsx.Types.SheetViews
, Codec.Xlsx.Types.StyleSheet
, Codec.Xlsx.Types.Table
, Codec.Xlsx.Types.Variant
, Codec.Xlsx.Writer
, Codec.Xlsx.Writer.Internal
, Codec.Xlsx.Writer.Internal.PivotTable
, Codec.Xlsx.Parser.Stream
, Codec.Xlsx.Writer.Stream
, Codec.Xlsx.Writer.Internal.Stream
-- The only function it exports is also hidden by the upstream library: https://github.com/the-real-blackh/hexpat/blob/master/Text/XML/Expat/SAX.hs#L227
-- We could expose it but then this function is in the xlsx API for a long time.
-- It be better to expose it in the upstream library instead I think. It was copied here so the parser can use it.
Other-modules: Codec.Xlsx.Parser.Stream.HexpatInternal
, Codec.Xlsx.Parser.Internal.Memoize
Build-depends: base >= 4.9.0.0 && < 5.0
, attoparsec
, base64-bytestring
, binary-search
, bytestring >= 0.10.8.0
, conduit >= 1.0.0
, containers >= 0.5.0.0
, data-default
, deepseq >= 1.4
, dlist
, errors
, extra
, filepath
, hexpat
, mtl >= 2.1
, network-uri
, old-locale >= 1.0.0.5
, safe >= 0.3
, text >= 0.11.3.1
, time >= 1.4.0.1
, transformers >= 0.3.0.0
, vector >= 0.10
, xeno >= 0.3.2
, xml-conduit >= 1.1.0
, zip-archive >= 0.2
, zlib >= 0.5.4.0
, zip
, zip-stream >= 0.2.0.1
, xml-types
, exceptions
, transformers-base
, monad-control
if flag(microlens)
Build-depends: microlens >= 0.4 && < 0.5
, microlens-mtl
, microlens-ghc
, microlens-th
, profunctors
, microlens-platform
, indexed-traversable
cpp-options: -DUSE_MICROLENS
else
Build-depends: lens >= 3.8 && < 5.4
Default-Language: Haskell2010
Other-Extensions: DeriveDataTypeable
FlexibleInstances
NoMonomorphismRestriction
OverloadedStrings
RankNTypes
RecordWildCards
TemplateHaskell
TupleSections
test-suite data-test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test/
other-modules: AutoFilterTests
, Common
, CommonTests
, CommonTests.CellRefTests
, CondFmtTests
, Diff
, DrawingTests
, PivotTableTests
, StreamTests
, Test.SmallCheck.Series.Instances
, TestXlsx
Build-Depends: base
, bytestring
, containers
, Diff >= 0.3.0
, directory
, groom
, mtl
, raw-strings-qq
, smallcheck
, tasty
, tasty-hunit
, tasty-smallcheck
, text
, time
, vector
, xlsx
, xml-conduit >= 1.1.0
, conduit
, filepath
, deepseq
, zip
if flag(microlens)
Build-depends: microlens >= 0.4 && < 0.5
, microlens-mtl
, microlens-platform
, microlens-th
cpp-options: -DUSE_MICROLENS
else
Build-depends: lens >= 3.8 && < 5.4
Default-Language: Haskell2010
source-repository head
type: git
location: git://github.com/qrilka/xlsx.git
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Main.hs
build-depends: base
, bytestring
, criterion
, xlsx
, deepseq
, conduit
, lens
default-language: Haskell2010