-
Notifications
You must be signed in to change notification settings - Fork 5
/
takusen-oracle.cabal
106 lines (96 loc) · 3.18 KB
/
takusen-oracle.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Name: takusen-oracle
Version: 0.9.4.1
License: BSD3
License-file: LICENSE
Author: Alistair Bayley, Oleg Kiselyov, Pavel Ryzhov
Copyright: 2003-2009, Alistair Bayley, Oleg Kiselyov, 2013, Pavel Ryzhov
Maintainer: [email protected]
Stability: experimental
Homepage: https://github.com/paulrzcz/takusen-oracle.git
Package-url: https://github.com/paulrzcz/takusen-oracle.git
Category: Database
Build-type: Custom
Cabal-Version: >= 1.16
Synopsis: Database library with left-fold interface for Oracle.
Description:
Takusen-Oracle is a Oracle access library. Like HSQL and HDBC, we support
arbitrary SQL statements (currently strings, extensible to anything
that can be converted to a string).
It is based on original Takusen library. It was just upgraded to support
Oracle 11gR2/12c instant client and GHC 7.4.2 and higher.
Extra-tmp-files:
Database/Oracle/OCIFunctions_stub.c
Database/Oracle/OCIFunctions_stub.h
source-repository this
type: git
location: https://github.com/paulrzcz/takusen-oracle.git
tag: 0.9.4.1
Flag buildtests
Description: Build test executables
Default: False
Executable takusen_tests
Default-Language: Haskell2010
If !flag(buildtests)
Buildable: False
else
-- If we want to build test exe, then it needs Takusen installed.
Build-Depends: takusen-oracle
Main-Is: Main.hs
Other-modules:
Database.Enumerator
, Database.InternalEnumerator
, Database.Util
, Database.Test.Enumerator
, Database.Test.Util
, Database.Test.Performance
, Database.Oracle.Enumerator
, Database.Oracle.OCIConstants
, Database.Oracle.OCIFunctions
, Database.Oracle.Test.Enumerator
, Database.Oracle.Test.OCIFunctions
, Control.Exception.MonadIO
, Foreign.C.UTF8
, Foreign.C.Test.UTF8
, Test.MiniUnit
Build-Depends: base >= 4.5 && < 5
, mtl
, time
, old-time
, QuickCheck ==2.*
, random
Extensions: CPP DeriveDataTypeable ScopedTypeVariables
Executable miniunit_tests
Default-Language: Haskell2010
If !flag(buildtests)
Buildable: False
Main-Is: Test/Main.hs
Other-modules:
Control.Exception.MonadIO
, Test.MiniUnit
, Test.MiniUnitTest
Build-Depends: base >= 4.5 && < 5
, mtl
Other-Extensions: CPP DeriveDataTypeable ScopedTypeVariables
Library
Default-Language: Haskell2010
Exposed-modules:
Database.Enumerator
, Database.Util
, Control.Exception.MonadIO
, Foreign.C.UTF8
Exposed-modules:
Database.Oracle.Enumerator
, Database.Oracle.OCIConstants
, Database.Oracle.OCIFunctions
If os(windows)
Extra-Libraries: oci
Else
Extra-Libraries: clntsh
Extra-Lib-Dirs: /Users/paul/instantclient
Build-Depends: base
, mtl
, time
, old-time
Other-Extensions: CPP DeriveDataTypeable
Other-modules:
Database.InternalEnumerator