-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsqlite.cabal
65 lines (58 loc) · 1.87 KB
/
sqlite.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
Name: sqlite
Version: 0.5.5
Synopsis: Haskell binding to sqlite3
Description:
Haskell binding to sqlite3 <http://sqlite.org/>.
.
License: BSD3
License-file: LICENSE
Author: Galois Inc
Maintainer: Adam Wick <[email protected]>
Copyright:
Copyright (c) 2007-8, Galois Inc
Homepage: http://github.com/GaloisInc/sqlite
Category: Database
cabal-version: >= 1.8
build-type: Configure
-- Cheating here, including the tests/ .cabal +
-- files in the parent (so as to dist them as one.)
extra-source-files:
README configure
include/sqlite3-local.h include/sqlite3.h
sqlite.buildinfo.unix sqlite.buildinfo.win32
extra-tmp-files:
sqlite.buildinfo
flag builtin-sqlite3
default: False
description: Compile sqlite3 as a part of the library.
library
Build-depends: base >= 3 && < 5, pretty, utf8-string, bytestring, time,
directory
Extensions: ForeignFunctionInterface, GeneralizedNewtypeDeriving,
TypeSynonymInstances, ScopedTypeVariables,
FlexibleInstances, UndecidableInstances, IncoherentInstances
Ghc-options: -Wall
Cc-options: -Wall -DSQLITE_ENABLE_FTS3=1 -DNDEBUG=1
Include-dirs: include
Includes: sqlite3-local.h
C-Sources: cbits/sqlite3-local.c
if flag(builtin-sqlite3)
Include-dirs: sqlite3.6
Includes: sqlite3.h
C-Sources: sqlite3.6/sqlite3.c
else
Extra-Libraries: sqlite3
Exposed-modules:
Database.SQLite,
Database.SQLite.Base,
Database.SQLite.Types,
Database.SQL
Database.SQL.Types
test-suite sqlite-tests
Type: exitcode-stdio-1.0
Build-depends: base, sqlite, temporary, filepath, hspec >=2.0 && <3.0
Main-is: Main.hs
hs-source-dirs: tests/
source-repository head
type: git
location: git://github.com/GaloisInc/sqlite.git