-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathoracle-simple.cabal
102 lines (97 loc) · 2.92 KB
/
oracle-simple.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
cabal-version: >=1.10
name: oracle-simple
version: 0.1.0.0
synopsis: Easy access to Oracle
description: Query Oracle databases using odpic
bug-reports: https://github.com/haskell-oracle/oracle-simple
license: MIT
license-file: LICENSE
author: David Johnson
maintainer: [email protected], [email protected]
copyright: H-E-B (c) 2025
category: Database
build-type: Simple
extra-source-files: CHANGELOG.md
flag default_paths
default:
True
description:
use default paths for odpic as set via `make install` from source
flag apt_paths
default:
False
description:
use paths for odpic as set by libodpic4 and odpic-dev from apt
library
exposed-modules:
Database.Oracle.Simple
other-modules:
Database.Oracle.Simple.Execute
Database.Oracle.Simple.FromField
Database.Oracle.Simple.FromRow
Database.Oracle.Simple.Internal
Database.Oracle.Simple.JSON
Database.Oracle.Simple.Pool
Database.Oracle.Simple.Query
Database.Oracle.Simple.ToField
Database.Oracle.Simple.ToRow
Database.Oracle.Simple.Transaction
Database.Oracle.Simple.Queue
Database.Oracle.Simple.Object
Database.Oracle.Simple.LOB
hs-source-dirs:
src
c-sources:
cbits/dpiDataBuffer.c
cbits/oracleHelpers.c
extra-libraries:
odpic
build-depends:
aeson
, base
, bytestring
, derive-storable
, mtl
, random
, scientific
, text
, time
, uuid
, vector
default-language: Haskell2010
ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-export-lists -Wno-implicit-prelude -Wno-safe -Wno-unsafe -Wnoncanonical-monad-instances -Wredundant-constraints -Wpartial-fields -Wmissed-specialisations -Wunused-packages -O2 -haddock
if os(linux) && flag(default_paths)
include-dirs:
/usr/local/include
extra-lib-dirs:
/usr/local/lib
if os(linux) && flag(apt_paths)
include-dirs:
/usr/include
extra-lib-dirs:
/usr/lib/x86_64-linux-gnu
if os(osx) && flag(default_paths)
include-dirs:
/usr/local/include
extra-lib-dirs:
/usr/local/lib
executable tests
main-is:
Main.hs
hs-source-dirs:
test
default-language:
Haskell2010
ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-export-lists -Wno-implicit-prelude -Wno-safe -Wno-unsafe -Wnoncanonical-monad-instances -Wredundant-constraints -Wpartial-fields -Wmissed-specialisations -Wunused-packages -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson
, base
, hedgehog
, hspec
, hspec-hedgehog
, oracle-simple
, time
, bytestring
source-repository head
type: git
location: git://github.com/haskell-oracle/oracle-simple.git