-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathxls.cabal
91 lines (79 loc) · 2.94 KB
/
xls.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
name: xls
version: 0.1.3
synopsis: Parse Microsoft Excel xls files (BIFF/Excel 97-2004)
description:
Parse Microsoft Excel spreadsheet files in @.xls@ file format
(extension '.xls') more specifically known as 'BIFF/Excel 97-2004'.
.
The library is based on the C library
'https://github.com/libxls/libxls'.
homepage: http://github.com/harendra-kumar/xls
license: BSD3
license-file: LICENSE
author: Harendra Kumar
maintainer: [email protected]
category: Codec,Data,Parser,Spreadsheet
copyright: 2016 Harendra Kumar,
2004-2014 Authors of libxls
stability: Experimental
build-type: Simple
cabal-version: >=1.10
extra-source-files:
Changelog.md
README.md
stack.yaml
lib/libxls/config/*.h
lib/libxls/include/*.h
lib/libxls/include/libxls/*.h
lib/libxls/include/libxls/*.c.h
test/data/test.xls
flag force-has-iconv
description: force using iconv library on Windows
manual: True
default: False
library
default-language: Haskell2010
ghc-options: -Wall
-- c99 also works but clang and gcc both support gnu99. We will have to use
-- a configure script if better portability is required.
-- _GNU_SOURCE is required to enable asprintf in glibc
cc-options: -std=gnu99 -D_GNU_SOURCE
if flag(force-has-iconv)
cc-options: -DFORCE_HAS_ICONV
hs-source-dirs: lib
exposed-modules: Data.Xls
build-depends: base >= 4.7 && < 5
, conduit >= 1.1 && < 1.4
, filepath >= 1.0 && < 1.6
, resourcet >= 0.3 && < 1.4
, transformers >= 0.1 && < 0.7
c-sources: lib/libxls-wrapper.c,
lib/libxls/src/xlstool.c,
lib/libxls/src/endian.c,
lib/libxls/src/ole.c,
lib/libxls/src/xls.c
include-dirs: lib/libxls/config,
lib/libxls/include
executable xls2csv
default-language: Haskell2010
hs-source-dirs: bin
main-is: xls2csv.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base >= 4.7 && < 5
, conduit >= 1.1 && < 1.4
, resourcet >= 0.3 && < 1.4
, transformers >= 0.1 && < 0.7
, getopt-generics >= 0.11 && < 0.14
, xls
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base >= 4.7 && < 5
, xls
, hspec
ghc-options: -threaded -rtsopts -with-rtsopts=-N
source-repository head
type: git
location: https://github.com/harendra-kumar/xls