/
leksah-server.cabal
191 lines (167 loc) · 6.76 KB
/
leksah-server.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
name: leksah-server
version: 0.12.0.0
cabal-version: >= 1.10.2
build-type: Simple
license: GPL
license-file: LICENSE
copyright: 2007-2011 Juergen Nicklisch-Franken, Hamish Mackenzie
maintainer: maintainer@leksah.org
stability: provisional
homepage: http://leksah.org
package-url: http://code.haskell.org/leksah-collector
bug-reports: http://code.google.com/p/leksah/issues/list
synopsis: Metadata collection for leksah
description: The interface to GHC-API for leksah
category: IDE
author: Juergen "jutaro" Nicklisch-Franken, Hamish Mackenzie
data-dir: ""
tested-with: GHC ==6.10 || ==6.12 || ==7.0
data-files:
data/prefscoll.lkshp
flag curl
Default: False
Description: Use runs curl instead of wget (curl is the default on OSX)
flag libcurl
Default: False
Description: Use libcurl instead of running wget
flag threaded
default: True
description: Build with support for multithreaded execution
library
default-language: Haskell98
build-depends: Cabal >=1.6.0.1 && <1.14, base >= 4.0.0.0 && <4.5, binary >=0.5.0.0 && <0.6,
binary-shared >=0.8 && <0.9, bytestring >=0.9.0.1 && <0.10,
containers >=0.2.0.0 && <0.5,
directory >=1.0.0.2 && <1.2, filepath >=1.1.0.1 && <1.3, ghc >=6.10.1 && <7.4,
ltk >=0.12 && <0.13, parsec >=2.1.0.1 && <3.2,
pretty >=1.0.1.0 && <1.2, time >=1.1 && <1.5, deepseq >=1.1 && <1.3,
hslogger >= 1.0.7 && <1.2, network >=2.2 && <3.0, enumerator >=0.4.14 && < 0.5,
attoparsec-enumerator >=0.3 && <0.4, attoparsec >=0.10.0.3 && <0.11,
transformers >=0.2.2.0 && <0.3
if (impl(ghc >= 7.2))
build-depends: haddock >= 2.7.2 && <2.10
else
if (impl(ghc >= 7.0))
build-depends: haddock >= 2.7.2 && <2.9.3
else
if (impl(ghc >= 6.12))
build-depends: haddock >= 2.7.2 && <2.9
else
build-depends: haddock-leksah == 2.5.0
if (impl(ghc >= 7.2))
build-depends: process >= 1.1 && <1.2
else
build-depends: process-leksah >=1.0.1.3 && <1.1
if os(windows)
build-depends: Win32 >=2.2.0.0 && <2.3
extra-libraries: kernel32
else
build-depends: unix >=2.3.1.0 && <2.6
if flag(curl) || os(osx)
cpp-options: -DUSE_CURL
if flag(libcurl)
build-depends: curl >=1.3.5 && <1.4
cpp-options: -DUSE_LIBCURL
exposed-modules: IDE.Utils.GHCUtils IDE.Utils.Utils IDE.Utils.Tool
IDE.Utils.FileUtils IDE.Core.CTypes IDE.Core.Serializable IDE.StrippedPrefs
IDE.Utils.Server IDE.Metainfo.PackageCollector IDE.Utils.VersionUtils
exposed: True
buildable: True
default-extensions: CPP
hs-source-dirs: src
other-modules:
IDE.Metainfo.WorkspaceCollector IDE.Metainfo.InterfaceCollector
IDE.Metainfo.SourceCollectorH
IDE.Metainfo.SourceDB Paths_leksah_server
if (impl(ghc >= 6.12))
ghc-options: -Wall -fno-warn-unused-do-bind -ferror-spans -O2
else
ghc-options: -Wall -ferror-spans -O2
ghc-prof-options: -auto-all -prof
executable leksah-server
default-language: Haskell98
build-depends: Cabal >=1.6.0.1 && <1.14, base >= 4.0.0.0 && <4.5, binary >=0.5.0.0 && <0.6,
binary-shared >=0.8 && <0.9, bytestring >=0.9.0.1 && <0.10,
containers >=0.2.0.0 && <0.5,
directory >=1.0.0.2 && <1.2, filepath >=1.1.0.1 && <1.3, ghc >=6.10.1 && <7.4,
ltk >=0.12 && <0.13, parsec >=2.1.0.1 && <3.2,
pretty >=1.0.1.0 && <1.2, time >=1.1 && <1.5, deepseq >=1.1 && <1.3,
hslogger >= 1.0.7 && <1.2, network >=2.2 && <3.0, enumerator >= 0.4.14 && <0.5,
attoparsec-enumerator >=0.3 && <0.4, attoparsec >=0.10.0.3 && <0.11,
transformers >=0.2.2.0 && <0.3
if (impl(ghc >= 7.2))
build-depends: haddock >= 2.7.2 && <2.10
else
if (impl(ghc >= 7.0))
build-depends: haddock >= 2.7.2 && <2.9.3
else
if (impl(ghc >= 6.12))
build-depends: haddock >= 2.7.2 && <2.9
else
build-depends: haddock-leksah == 2.5.0
if (impl(ghc >= 7.2))
build-depends: process >= 1.1 && <1.2
else
build-depends: process-leksah >=1.0.1.3 && <1.1
if os(windows)
build-depends: Win32 >=2.2.0.0 && <2.3
extra-libraries: kernel32
else
build-depends: unix >=2.3.1.0 && <2.6
if flag(curl) || os(osx)
cpp-options: -DUSE_CURL
if flag(libcurl)
build-depends: curl >=1.3.5 && <1.4
cpp-options: -DUSE_LIBCURL
main-is: IDE/Metainfo/Collector.hs
buildable: True
default-extensions: CPP
hs-source-dirs: src
other-modules: IDE.StrippedPrefs IDE.Utils.GHCUtils IDE.Utils.Utils
IDE.Core.CTypes IDE.Core.Serializable
IDE.Metainfo.WorkspaceCollector IDE.Metainfo.InterfaceCollector
IDE.Metainfo.SourceCollectorH IDE.Metainfo.SourceDB IDE.Utils.Tool
IDE.HeaderParser IDE.Metainfo.PackageCollector
if flag(threaded)
ghc-options: -threaded
if impl(ghc >= 7.0)
ghc-options: -rtsopts
if impl(ghc >= 6.12)
ghc-options: -Wall -fno-warn-unused-do-bind -ferror-spans -O2
else
ghc-options: -Wall -ferror-spans -O2
ghc-prof-options: -auto-all -prof
executable leksahecho
default-language: Haskell98
main-is: LeksahEcho.hs
buildable: True
default-extensions: CPP
hs-source-dirs: src
ghc-prof-options: -auto-all -prof
-- ghc-shared-options: -auto-all -prof
build-depends: base >= 4.0.0.0 && <4.5, hslogger >= 1.0.7 && <1.2, deepseq >=1.1 && <1.3,
bytestring >=0.9.0.1 && <0.10, enumerator >= 0.4.14 && <0.5,
attoparsec-enumerator >=0.3 && <0.4, attoparsec >=0.10.0.3 && <0.11,
transformers >=0.2.2.0 && <0.3
if (impl(ghc >= 7.2))
build-depends: process >= 1.1 && <1.2
else
build-depends: process-leksah >=1.0.1.3 && <1.1
if flag(threaded)
ghc-options: -threaded
if (impl(ghc >= 6.12))
ghc-options: -Wall -fno-warn-unused-do-bind -ferror-spans -O2
else
ghc-options: -Wall -ferror-spans -O2
test-suite test-tool
default-language: Haskell98
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: TestTool.hs
build-depends: base >= 4.0.0.0 && <4.5, hslogger >= 1.0.7 && <1.3,
leksah-server,
HUnit >=1.2 && <1.3, transformers >=0.2.2.0 && <0.3, enumerator >=0.4.14 && <0.5
if (impl(ghc >= 7.2))
build-depends: process >= 1.1 && <1.2
else
build-depends: process-leksah >=1.0.1.3 && <1.1