-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpostgresql-pure.cabal
230 lines (218 loc) · 6.99 KB
/
postgresql-pure.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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
cabal-version: 2.2
name: postgresql-pure
version: 0.2.3.0
synopsis: pure Haskell PostgreSQL driver
description: pure Haskell PostgreSQL driver
category: Database
homepage: https://github.com/kakkun61/postgresql-pure
bug-reports: https://github.com/kakkun61/postgresql-pure/issues
author: Kazuki Okamoto
maintainer: [email protected]
copyright: 2021 Kazuki Okamoto (岡本和樹), 2019 IIJ Innovation Institute Inc.
license: BSD-3-Clause
license-file: LICENSE
build-type: Custom
extra-source-files: README.md
ChangeLog.md
template/Builder.hs
template/BuilderItem.hs
template/Parser.hs
template/ParserItem.hs
template/Length.hs
template/LengthItem.hs
source-repository head
type: git
location: https://github.com/kakkun61/postgresql-pure
custom-setup
setup-depends: Cabal,
base >= 4.12 && < 5,
directory,
filepath
flag pure-md5
manual: False
default: False
common common
build-depends: base >= 4.12 && < 5
ghc-options: -Wall
-Wcompat
-Wno-name-shadowing
default-language: Haskell2010
library
import: common
exposed-modules: Database.HDBC.PostgreSQL.Pure
Database.PostgreSQL.Pure
Database.PostgreSQL.Pure.List
Database.PostgreSQL.Pure.Oid
Database.PostgreSQL.Pure.Parser
other-modules: Database.PostgreSQL.Pure.Internal.Connection
Database.PostgreSQL.Pure.Internal.Data
Database.PostgreSQL.Pure.Internal.Exception
Database.PostgreSQL.Pure.Internal.MonadFail
Database.PostgreSQL.Pure.Internal.Query
Database.PostgreSQL.Pure.Internal.SocketIO
Database.PostgreSQL.Simple.Time.Internal.Parser
Database.PostgreSQL.Simple.Time.Internal.Printer
Database.PostgreSQL.Pure.Internal.Builder
Database.PostgreSQL.Pure.Internal.Parser
Database.PostgreSQL.Pure.Internal.Length
Paths_postgresql_pure
autogen-modules: Database.PostgreSQL.Pure.Internal.Builder
Database.PostgreSQL.Pure.Internal.Parser
Database.PostgreSQL.Pure.Internal.Length
Paths_postgresql_pure
hs-source-dirs: src
default-extensions: Strict
ghc-options: -Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wmonomorphism-restriction
-Wmissing-exported-signatures
-Wmissing-export-lists
-Wmissing-home-modules
-Widentities
-Wredundant-constraints
-Wpartial-fields
-Wno-name-shadowing
-Wmissing-import-lists
build-depends: HDBC,
OneTuple,
Only,
attoparsec,
base16-bytestring,
bytestring,
containers,
convertible,
data-default-class,
deepseq,
double-conversion,
homotuple,
list-tuple,
memory,
mtl,
network,
postgresql-binary,
postgresql-placeholder-converter,
pretty-hex,
safe-exceptions,
scientific,
single-tuple,
text,
time,
utf8-string
if flag(pure-md5)
cpp-options: -DPURE_MD5
build-depends: pureMD5
else
build-depends: cryptohash-md5
test-suite doctest
import: common
type: exitcode-stdio-1.0
main-is: doctest.hs
hs-source-dirs: test-doctest
build-depends: doctest
test-suite hdbc-postgresql
import: common
type: exitcode-stdio-1.0
main-is: runtests.hs
other-modules: SpecificDB
SpecificDBTests
Testbasics
TestMisc
Tests
TestSbasics
TestTime
TestUtils
hs-source-dirs: test-hdbc-postgresql
default-extensions: Strict
ghc-options: -Wno-all
build-depends: HDBC,
HUnit,
containers,
convertible,
data-default-class,
either-result,
old-time,
postgresql-placeholder-converter,
postgresql-pure,
time
test-suite original
import: common
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: Database.HDBC.PostgreSQL.PureSpec
Database.PostgreSQL.Pure.ListSpec
Database.PostgreSQL.PureSpec
Test.Hspec.Core.Hooks.Extra
hs-source-dirs: test-original
build-depends: HDBC,
Only,
attoparsec,
bytestring,
data-default-class,
homotuple,
hspec,
network,
postgresql-pure,
safe-exceptions,
utf8-string
build-tool-depends: hspec-discover:hspec-discover
test-suite relational-record
import: common
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: DataSource
DataSource.Pure
Relation.Person
Relation.Pure.Person
hs-source-dirs: test-relational-record
build-depends: HDBC-postgresql,
HDBC-session,
data-default-class,
hspec,
postgresql-pure,
relational-query,
relational-query-HDBC
benchmark requests-per-second
import: common
type: exitcode-stdio-1.0
main-is: requests-per-second.hs
other-modules: RepeatThreadPool
hs-source-dirs: benchmark
build-depends: Only,
bytestring,
clock,
data-default-class,
deepseq,
homotuple,
optparse-applicative,
postgresql-libpq,
postgresql-pure,
scientific,
time
if !os(windows) && impl(ghc < 8.8.0)
build-depends: postgres-wire
benchmark requests-per-second-constant
import: common
type: exitcode-stdio-1.0
main-is: requests-per-second-constant.hs
other-modules: RepeatThreadPool
hs-source-dirs: benchmark
build-depends: Only,
attoparsec,
bytestring,
cassava,
clock,
data-default-class,
deepseq,
homotuple,
hourglass,
optparse-applicative,
postgresql-libpq,
postgresql-pure,
postgresql-simple,
postgresql-typed,
random-shuffle,
scientific,
time,
utf8-string
if !os(windows) && impl(ghc < 8.8.0)
build-depends: postgres-wire