-
Notifications
You must be signed in to change notification settings - Fork 8
/
clickhouse-haskell.cabal
201 lines (193 loc) · 8.2 KB
/
clickhouse-haskell.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
cabal-version: 1.12
name: clickhouse-haskell
version: 0.1.2.3
synopsis: A Haskell library as database client for Clickhouse
homepage: https://github.com/2049foundation/clickhouse-haskell/
bug-reports: https://github.com/2049foundation/clickhouse-haskell/issues
author: Shi You
maintainer: youshi@emqx.io
copyright: Copyright (c) 2020-present, EMQ X, Inc.
category: Database
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
description:
Clickhouse-Haskell is a library for making connection with the server of
column-oriented DBMS, Clickhouse. This library supports SELECT, INSERT and other query commands.
Clickhouse-Haskell is also implemented with Haxl, an concurrent data accessing API developed by Facebook,
for efficient interaction with the server.
For more detail, see: https://github.com/2049foundation/clickhouse-haskell#readme
source-repository head
type: git
location: https://github.com/2049foundation/clickhouse-haskell
library
exposed-modules:
Database.ClickHouseDriver
Database.ClickHouseDriver.HTTP
Database.ClickHouseDriver.HTTP.Helpers
Database.ClickHouseDriver.HTTP.Client
Database.ClickHouseDriver.HTTP.Types
Database.ClickHouseDriver.HTTP.Connection
Database.ClickHouseDriver.Error
Database.ClickHouseDriver.QueryProcessingStage
Database.ClickHouseDriver.Defines
Database.ClickHouseDriver.ServerProtocol
Database.ClickHouseDriver.ClientProtocol
Database.ClickHouseDriver.Block
Database.ClickHouseDriver.Client
Database.ClickHouseDriver.Connection
Database.ClickHouseDriver.Types
Database.ClickHouseDriver.Column
Database.ClickHouseDriver.IO.BufferedWriter
Database.ClickHouseDriver.IO.BufferedReader
Database.ClickHouseDriver.Pool
other-modules:
Paths_clickhouse_haskell
hs-source-dirs:
src
build-depends:
base >=4.12 && <5,
containers >=0.6,
array >= 0.5.1 && < 0.6,
time >= 1.9 && < 1.12,
transformers >= 0.5.2 && < 0.6,
aeson >= 1.4.1 && < 1.6,
attoparsec >= 0.13.2 && < 0.14,
bytestring >= 0.10.8 && < 0.11,
binary >= 0.8.3 && < 0.9,
hashable >= 1.2.7 && < 1.4,
text >= 1.2.3 && < 1.3,
unordered-containers >= 0.2.13 && < 0.3,
vector >= 0.12.1 && < 0.13,
async >= 2.2.2 && < 2.3,
bytestring-to-vector >= 0.3.0 && < 0.4,
call-stack >= 0.2.0 && < 0.3,
data-default-class >= 0.1.2 && < 0.2,
data-dword >= 0.3.2 && < 0.4,
exceptions >= 0.10.4 && < 0.11,
mtl >= 2.2.2 && < 2.3,
filepath >= 1.4.1 && < 1.5,
hashmap >= 1.3.3 && < 1.4,
haxl >= 2.3.0 && < 2.4,
http-client >= 0.6.4 && < 0.7,
network >= 3.1.0 && < 3.2,
parsec >= 3.1.14 && < 3.2,
streaming-commons >= 0.2.2 && < 0.3,
io-streams >= 1.5.2 && < 1.6,
monad-loops >= 0.4.3 && < 0.5,
monad-parallel >= 0.7.2 && < 0.8,
network-ip >= 0.3.0 && < 0.4,
split >= 0.2.3 && < 0.3,
network-simple >= 0.4.5 && < 0.5,
resource-pool >= 0.2.3 && < 0.3,
tz >= 0.1.3 && < 0.2,
unix-time >= 0.4.7 && < 0.5,
uri-encode >= 1.5.0 && < 1.6,
uuid >= 1.3.13 && < 1.4,
Z-Data >= 0.8.0
default-language: Haskell2010
c-sources: ./src/Database/ClickHouseDriver/CBits/varuint.c
, ./src/Database/ClickHouseDriver/CBits/datetime.c
, ./src/Database/ClickHouseDriver/CBits/bigint.c
include-dirs: ./src/Database/ClickHouseDriver/Include
includes: varuint.h
, datetime.h
, bigint.h
install-includes: varuint.h
, datetime.h
, bigint.h
ghc-options:
-funbox-strict-fields -threaded -rtsopts
executable clickhouse-haskell-exe
main-is: Main.hs
other-modules:
Paths_clickhouse_haskell
hs-source-dirs:
app
ghc-options:
-threaded -rtsopts -with-rtsopts=-N -O2 -with-rtsopts=-N
default-language:
Haskell2010
build-depends:
clickhouse-haskell,
base >= 4.12 && <5,
QuickCheck >= 2.13 && <3,
hspec >= 2.0 && <3,
HUnit >= 1.6 && <1.7
executable clickhouse-haskell-benchmark
main-is: Main.hs
other-modules:
Paths_clickhouse_haskell
hs-source-dirs:
benchmark
ghc-options:
-threaded -rtsopts -with-rtsopts=-N -O2
default-language:
Haskell2010
build-depends:
clickhouse-haskell,
base >= 4.12 && <5,
time >= 1.9 && < 1.12,
bytestring >= 0.10.8 && < 0.11,
data-default-class >= 0.1.2 && < 0.2
test-suite clickhouse-haskell-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Test.IO
Test.ColumnSpec
Test.HTTPSpec
hs-source-dirs:
test
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
-O2
build-depends:
clickhouse-haskell,
base >= 4.12 && <5,
QuickCheck >= 2.13 && <3,
hspec >= 2.0 && <3,
HUnit >= 1.6 && <1.7,
containers >= 0.5.7 && < 0.6,
array >= 0.5.1 && < 0.6,
time >= 1.9 && < 1.12,
transformers >= 0.5.2 && < 0.6,
aeson >= 1.4.1 && < 1.6,
attoparsec >= 0.13.2 && < 0.14,
bytestring >= 0.10.8 && < 0.11,
binary >= 0.8.3 && < 0.9,
hashable >= 1.2.7 && < 1.4,
text >= 1.2.4 && < 1.3,
unordered-containers >= 0.2.13 && < 0.3,
vector >= 0.12.1 && < 0.13,
async >= 2.2.2 && < 2.3,
bytestring-to-vector >= 0.3.0 && < 0.4,
call-stack >= 0.2.0 && < 0.3,
data-default-class >= 0.1.2 && < 0.2,
data-dword >= 0.3.2 && < 0.4,
exceptions >= 0.10.4 && < 0.11,
mtl >= 2.2.2 && < 2.3,
filepath >= 1.4.1 && < 1.5,
hashmap >= 1.3.3 && < 1.4,
haxl >= 2.3.0 && < 2.4,
http-client >= 0.6.4 && < 0.7,
network >= 3.1.0 && < 3.2,
parsec >= 3.1.14 && < 3.2,
streaming-commons >= 0.2.2 && < 0.3,
io-streams >= 1.5.2 && < 1.6,
monad-loops >= 0.4.3 && < 0.5,
monad-parallel >= 0.7.2 && < 0.8,
network-ip >= 0.3.0 && < 0.4,
split >= 0.2.3 && < 0.3,
network-simple >= 0.4.5 && < 0.5,
resource-pool >= 0.2.3 && < 0.3,
tz >= 0.1.3 && < 0.2,
unix-time >= 0.4.7 && < 0.5,
uri-encode >= 1.5.0 && < 1.6,
uuid >= 1.3.13 && < 1.4
default-language: Haskell2010