Add missing cabal fields.
[dead/lwn-epub.git] / lwn-epub.cabal
1 name: lwn-epub
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 license: GPL-3
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/lwn-epub.php
9 bug-reports: mailto:michael@orlitzky.com
10 build-type: Simple
11 category: Text
12 synopsis:
13 Convert issues of LWN (lwn.net) to EPUB format.
14 description:
15 A command-line utility that downloads an LWN article (or issue), cleans it
16 up, and writes it to EPUB with a stylesheet that looks decent on the Kindle.
17 It can use account credentials to log in and access the current edition.
18 data-files: doc/README
19
20 executable lwn-epub
21 build-depends:
22 base == 4.5.*,
23 bytestring == 0.9.*,
24 cmdargs == 0.9.*,
25 ConfigFile == 1.*,
26 containers == 0.*,
27 directory == 1.1.*,
28 filepath == 1.3.*,
29 HandsomeSoup == 0.3.*,
30 http-conduit == 1.6.*,
31 http-types == 0.7.*,
32 hxt == 9.*,
33 MissingH == 1.1.*,
34 network == 2.3.*,
35 pandoc == 1.9.*,
36 parallel-io == 0.3.*,
37 regex-posix == 0.95.*,
38 temporary == 1.*,
39 time == 1.*,
40 utf8-string == 0.3.*,
41 -- Additional test dependencies.
42 HUnit == 1.2.*,
43 test-framework == 0.6.*,
44 test-framework-hunit == 0.2.*
45
46 main-is:
47 Main.hs
48
49 hs-source-dirs:
50 src/
51
52 ghc-options:
53 -Wall
54 -fwarn-hi-shadowing
55 -fwarn-missing-signatures
56 -fwarn-name-shadowing
57 -fwarn-orphans
58 -fwarn-type-defaults
59 -fwarn-tabs
60 -fwarn-incomplete-record-updates
61 -fwarn-monomorphism-restriction
62 -fwarn-unused-do-bind
63 -rtsopts
64 -threaded
65 -O2
66 -optc-O3
67 -optc-march=native
68
69
70 test-suite testsuite
71 type: exitcode-stdio-1.0
72 hs-source-dirs: src test
73 main-is: TestSuite.hs
74 build-depends:
75 base == 4.5.*,
76 bytestring == 0.9.*,
77 cmdargs == 0.9.*,
78 ConfigFile == 1.*,
79 containers == 0.*,
80 directory == 1.1.*,
81 filepath == 1.3.*,
82 HandsomeSoup == 0.3.*,
83 http-conduit == 1.6.*,
84 http-types == 0.7.*,
85 hxt == 9.*,
86 MissingH == 1.1.*,
87 network == 2.3.*,
88 pandoc == 1.9.*,
89 parallel-io == 0.3.*,
90 regex-posix == 0.95.*,
91 temporary == 1.*,
92 time == 1.*,
93 utf8-string == 0.3.*,
94 -- Additional test dependencies.
95 HUnit == 1.2.*,
96 test-framework == 0.6.*,
97 test-framework-hunit == 0.2.*
98
99 -- It's not entirely clear to me why I have to reproduce all of this.
100 ghc-options:
101 -rtsopts
102 -threaded
103 -O2
104 -optc-O3
105 -optc-march=native
106
107
108 source-repository head
109 type: git
110 location: http://michael.orlitzky.com/git/lwn-epub.git
111 branch: master