forked from hdbc/hdbc-postgresql
/
HDBC-postgresql.cabal
80 lines (75 loc) · 2.61 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
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
Name: HDBC-postgresql
Version: 2.2.3.1
License: LGPL
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Copyright: Copyright (c) 2005-2010 John Goerzen
license-file: COPYRIGHT
extra-source-files: COPYING, hdbc-postgresql-helper.h, pgtypes.h,
Makefile,
README.txt,
TODO,
testsrc/COPYING,
testsrc/COPYRIGHT,
testsrc/TestTime.hs
homepage: http://software.complete.org/hdbc-postgresql
Category: Database
synopsis: PostgreSQL driver for HDBC
Description: This package provides a PostgreSQL driver for HDBC
Stability: Stable
Build-Type: Custom
Cabal-Version: >=1.8
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,
Database.HDBC.PostgreSQL.ErrorCodes
Extensions: ExistentialQuantification, ForeignFunctionInterface
Build-Depends: base >= 3 && < 5, mtl, HDBC>=2.2.0, parsec, utf8-string,
bytestring, old-time, old-locale, time
if impl(ghc >= 6.9)
Build-Depends: base >= 4
Extra-Libraries: pq
C-Sources: hdbc-postgresql-helper.c
Include-Dirs: .
GHC-Options: -O2 -Wall
Executable runtests
if flag(buildtests)
Buildable: True
Build-Depends: HUnit, QuickCheck, testpack, containers,
convertible, time, old-locale
else
Buildable: False
Main-Is: runtests.hs
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,
Database.HDBC.PostgreSQL.ErrorCodes,
SpecificDB,
SpecificDBTests,
TestMisc,
TestSbasics,
TestUtils,
Testbasics,
Tests
C-Sources: hdbc-postgresql-helper.c
include-dirs: .
Extra-Libraries: pq
Hs-Source-Dirs: ., testsrc
GHC-Options: -O2
Extensions: ExistentialQuantification,
ForeignFunctionInterface