This repository is currently being migrated. It's locked while the migration is in progress.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlcipher.cabal
75 lines (64 loc) · 2.25 KB
/
sqlcipher.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: sqlcipher
Version: 1.0.1.2
Synopsis: Haskell binding to sqlcipher
Description:
Haskell binding to sqlcipher <https://www.zetetic.net/sqlcipher/>.
This was forked from sqlite3 library from Galois, Inc. since sqlcipher share most of its API.
.
License: BSD3
License-file: LICENSE
Author: figo GmbH
Maintainer: figo GmbH <[email protected]>
Copyright:
Copyright (c) 2007-8, Galois Inc
Copyright (c) 2016, figo GmbH
Homepage: http://github.com/figome/haskell-sqlcipher
Category: Database
cabal-version: >= 1.23
build-type: Custom
-- 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-sqlcipher
default: True
description: Compile sqlcipher as a part of the library.
library
default-language: Haskell98
build-depends: base >= 3 && < 5, pretty, utf8-string, bytestring, time,
directory
default-extensions: ForeignFunctionInterface, GeneralizedNewtypeDeriving,
TypeSynonymInstances, ScopedTypeVariables,
FlexibleInstances, UndecidableInstances, IncoherentInstances
Ghc-options: -Wall
Cc-options: -Wall -DSQLITE_ENABLE_FTS3=1 -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DNDEBUG=1
Include-dirs: include
Includes: sqlite3-local.h
C-Sources: cbits/sqlite3-local.c
if flag(builtin-sqlcipher)
Include-dirs: sqlcipher
Includes: sqlite3.h
C-Sources: sqlcipher/sqlite3.c
Extra-Libraries: crypto
else
Extra-Libraries: sqlcipher crypto
Exposed-modules:
Database.SQLCipher,
Database.SQLCipher.Base,
Database.SQLCipher.Types,
Database.SQL
Database.SQL.Types
custom-setup
setup-depends: base >= 3 && < 5, Cabal >= 1.23, directory
test-suite sqlite-tests
Type: exitcode-stdio-1.0
Build-depends: base, sqlcipher, temporary, filepath, hspec >=2.0 && <3.0
Main-is: Main.hs
hs-source-dirs: tests/
source-repository head
type: git
location: git://github.com/figome/haskell-sqlcipher.git