-
Notifications
You must be signed in to change notification settings - Fork 6
/
HDBC-sqlite3.cabal
75 lines (71 loc) · 2.37 KB
/
HDBC-sqlite3.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
Name: HDBC-sqlite3
Version: 2.3.3.1
License: BSD3
Maintainer: Erik Hesselink <[email protected]>
Author: John Goerzen
Copyright: Copyright (c) 2005-2011 John Goerzen
license-file: LICENSE
extra-source-files: LICENSE, hdbc-sqlite3-helper.h, Makefile
homepage: https://github.com/hdbc/hdbc-sqlite3
Category: Database
synopsis: Sqlite v3 driver for HDBC
Description: This is the Sqlite v3 driver for HDBC, the generic
database access system for Haskell
Stability: Stable
Build-Type: Simple
Cabal-Version: >=1.2.3
extra-source-files: LICENSE, Makefile, README.txt, CHANGELOG.md
Flag splitBase
description: Choose the new smaller, split-up package.
Flag buildtests
description: Build the executable to run unit tests
default: False
Library
Build-Depends: base>=4 && < 5, bytestring, mtl, HDBC>=2.3.0.0, utf8-string
C-Sources: hdbc-sqlite3-helper.c
include-dirs: .
Extra-Libraries: sqlite3
Exposed-Modules: Database.HDBC.Sqlite3
Other-Modules: Database.HDBC.Sqlite3.Connection,
Database.HDBC.Sqlite3.ConnectionImpl,
Database.HDBC.Sqlite3.Statement,
Database.HDBC.Sqlite3.Types,
Database.HDBC.Sqlite3.Utils,
Database.HDBC.Sqlite3.Consts
GHC-Options: -O2
Extensions: ExistentialQuantification,
ForeignFunctionInterface,
EmptyDataDecls,
ScopedTypeVariables,
ScopedTypeVariables
Executable runtests
if flag(buildtests)
Buildable: True
Build-Depends: HUnit, testpack, containers, convertible,
old-time, time, old-locale
else
Buildable: False
Main-Is: runtests.hs
Other-Modules: SpecificDB,
SpecificDBTests,
TestMisc,
TestSbasics,
TestUtils,
Testbasics,
Tests,
Database.HDBC.Sqlite3.Connection,
Database.HDBC.Sqlite3.ConnectionImpl,
Database.HDBC.Sqlite3.Statement,
Database.HDBC.Sqlite3.Types,
Database.HDBC.Sqlite3.Utils,
Database.HDBC.Sqlite3.Consts
C-Sources: hdbc-sqlite3-helper.c
include-dirs: .
Extra-Libraries: sqlite3
Hs-Source-Dirs: ., testsrc
GHC-Options: -O2
Extensions: ExistentialQuantification,
ForeignFunctionInterface,
EmptyDataDecls,
ScopedTypeVariables,
ScopedTypeVariables