forked from hdbc/hdbc-postgresql
/
HDBC-postgresql.cabal
45 lines (42 loc) · 1.39 KB
/
HDBC-postgresql.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
Name: HDBC-postgresql
Version: 2.1.0.1
License: LGPL
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Copyright: Copyright (c) 2005-2009 John Goerzen
license-file: COPYRIGHT
extra-source-files: COPYING, hdbc-postgresql-helper.h, pgtypes.h
homepage: http://software.complete.org/hdbc-postgres
Category: Database
synopsis: PostgreSQL driver for HDBC
Description: This package provides a PostgreSQL driver for HDBC
Stability: Stable
Build-Type: Custom
Cabal-Version: >=1.2.3
Flag splitBase
description: Choose the new smaller, split-up package.
Flag buildtests
description: Build the executable to run unit tests
default: False
Library
Exposed-Modules: Database.HDBC.PostgreSQL
Other-Modules: Database.HDBC.PostgreSQL.Connection,
Database.HDBC.PostgreSQL.ConnectionImpl,
Database.HDBC.PostgreSQL.Statement,
Database.HDBC.PostgreSQL.Types,
Database.HDBC.PostgreSQL.Utils,
Database.HDBC.PostgreSQL.Parser,
Database.HDBC.PostgreSQL.PTypeConv
Extensions: ExistentialQuantification, ForeignFunctionInterface
Build-Depends: base, mtl, HDBC>=2.1.0, parsec, utf8-string,
bytestring, old-time, old-locale, time
if flag(splitBase)
Build-Depends: base >= 3, old-time
else
Build-Depends: base < 3
if impl(ghc >= 6.9)
Build-Depends: base >= 4
Extra-Libraries: pq
C-Sources: hdbc-postgresql-helper.c
Include-Dirs: .
GHC-Options: -O2 -Wall