Add download-curl dependency for saving images.
[dead/lwn-epub.git] / lwn-epub.cabal
1 name: lwn-epub
2 version: 0.0
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 synopsis:
7 Convert issues of LWN (lwn.net) to EPUB format.
8 build-type: Simple
9
10 executable lwn-epub
11 build-depends:
12 base == 4.5.*,
13 bytestring == 0.9.*,
14 cmdargs == 0.9.*,
15 directory == 1.1.*,
16 download-curl == 0.1.*,
17 filepath == 1.3.*,
18 HandsomeSoup == 0.3.*,
19 HUnit == 1.2.*,
20 hxt == 9.*,
21 MissingH == 1.1.*,
22 network == 2.3.*,
23 pandoc == 1.9.*,
24 regex-posix == 0.95.*,
25 test-framework == 0.6.*,
26 test-framework-hunit == 0.2.*,
27 time == 1.*,
28 utf8-string == 0.3.*
29
30 main-is:
31 Main.hs
32
33 hs-source-dirs:
34 src/
35
36 ghc-options:
37 -Wall
38 -fwarn-hi-shadowing
39 -fwarn-missing-signatures
40 -fwarn-name-shadowing
41 -fwarn-orphans
42 -fwarn-type-defaults
43 -fwarn-tabs
44 -fwarn-incomplete-record-updates
45 -fwarn-monomorphism-restriction
46 -fwarn-unused-do-bind
47 -funbox-strict-fields
48 -fexcess-precision
49 -fno-spec-constr-count
50 -rtsopts
51 -threaded
52 -O2
53 -optc-O3
54 -optc-march=native