-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostgresql-simple-bind.cabal
143 lines (118 loc) · 3.73 KB
/
postgresql-simple-bind.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
name: postgresql-simple-bind
version: 0.4.1
synopsis: FFI-like bindings for PostgreSQL stored functions
description: For tutorial see here: https:\/\/github.com\/zohl\/postgresql-simple-bind\/blob\/master\/README.md
license: BSD3
license-file: LICENSE
author: Al Zohali
maintainer: Al Zohali <[email protected]>
category: Database
build-type: Simple
cabal-version: >=1.10
extra-source-files:
CHANGELOG.md
examples/sql/messages/functions/*.sql
examples/sql/messages/tables/*.sql
examples/sql/messages/updates/*.sql
examples/sql/numdumpster/functions/*.sql
examples/sql/numdumpster/tables/*.sql
examples/sql/users/domains/*.sql
examples/sql/users/functions/*.sql
examples/sql/users/tables/*.sql
examples/sql/users/types/*.sql
flag dev
description: Turn on development settings.
manual: True
default: False
flag build-examples
description: Whether to build (and test) examples.
manual: False
default: False
source-repository head
type: git
location: https://github.com/zohl/postgresql-simple-bind.git
library
build-depends: base >= 4.7 && < 5.0
, attoparsec >= 0.13.0 && < 0.14
, bytestring >= 0.10.8 && < 0.11
, data-default
, directory
, exceptions
, filepath
, heredoc >= 0.2.0 && < 0.3
, postgresql-simple >= 0.5.2 && < 0.6
, safe
, template-haskell >= 2.11.0 && < 2.12
, text >= 1.2.2 && < 1.3
, time >= 1.6.0 && < 1.7
, transformers
, unix
hs-source-dirs: src
exposed-modules:
Database.PostgreSQL.Simple.Bind
Database.PostgreSQL.Simple.Bind.Common
Database.PostgreSQL.Simple.Bind.Parser
Database.PostgreSQL.Simple.Bind.Representation
Database.PostgreSQL.Simple.Bind.Types
Database.PostgreSQL.Simple.Bind.Utils
other-modules:
Database.PostgreSQL.Simple.Bind.Implementation
default-language: Haskell2010
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
ghc-options: -Wall
build-depends: base >= 4.7 && < 5.0
, attoparsec >= 0.13.0 && < 0.14
, bytestring >= 0.10.8 && < 0.11
, containers
, data-default
, directory
, exceptions
, filepath
, heredoc >= 0.2.0 && < 0.3
, hspec
, postgresql-simple >= 0.5.2 && < 0.6
, postgresql-simple-bind
, tagged
, text >= 1.2.2 && < 1.3
, QuickCheck
default-language: Haskell2010
if flag(dev)
ghc-options: -Werror
else
ghc-options: -O2
test-suite examples
type: exitcode-stdio-1.0
hs-source-dirs: examples
main-is: Main.hs
other-modules:
Common
ExMessages
ExNumDumpster
ExUsers
default-language: Haskell2010
ghc-options: -Wall -Wno-redundant-constraints
if flag(build-examples)
build-depends: base >= 4.7 && < 5.0
, attoparsec >= 0.13.0 && < 0.14
, bytestring >= 0.10.8 && < 0.11
, case-conversion
, data-default
, directory
, filepath
, hspec
, postgresql-simple >= 0.5.2 && < 0.6
, postgresql-simple-bind
, text >= 1.2.2 && < 1.3
if flag(dev)
ghc-options: -Werror
else
ghc-options: -O2
else
buildable: False