HDBC-odbc-2.4.0.1: HDBC-odbc.cabal
Name: HDBC-odbc
Version: 2.4.0.1
Cabal-Version: >=1.8
Build-type: Simple
License: BSD3
Maintainer: Anton Dessiatov <anton.dessiatov@gmail.com>
Nicolas Wu <nicolas.wu@gmail.com>
Author: John Goerzen
Copyright: Copyright (c) 2005-2011 John Goerzen
license-file: LICENSE
extra-source-files: LICENSE, hdbc-odbc-helper.h,
Makefile,
README.md,
testsrc/TestTime.hs
changelog.txt
homepage: https://github.com/hdbc/hdbc-odbc
Category: Database
synopsis: ODBC driver for HDBC
Description: This package provides an ODBC database backend for HDBC.
It is cross-platform and supports unixODBC on Unix/Linux/POSIX platforms
and Microsoft ODBC on Windows. It is also the preferred way to access
MySQL databases from Haskell.
Stability: Beta
Flag buildtests
description: Build the executable to run unit tests
default: False
Flag buildstresstest
description: Build the stress testing executable
default: False
Library
Exposed-Modules: Database.HDBC.ODBC
Other-Modules: Database.HDBC.ODBC.Connection,
Database.HDBC.ODBC.Statement,
Database.HDBC.ODBC.Types,
Database.HDBC.ODBC.Utils,
Database.HDBC.ODBC.TypeConv,
Database.HDBC.ODBC.ConnectionImpl
Extensions:
ExistentialQuantification,
ForeignFunctionInterface,
ScopedTypeVariables
Build-Depends: base >= 4.3.1.0 && < 5
, mtl
, HDBC>=2.1.0
, time>=1.2.0.3
, utf8-string
, bytestring
C-Sources: hdbc-odbc-helper.c
if os(mingw32) || os(win32)
Extra-Libraries: odbc32
else
Extra-Libraries: odbc
include-dirs: .
-- extra-lib-dirs:
Executable runtests
if flag(buildtests)
Buildable: True
Build-Depends: HUnit, QuickCheck, testpack, containers, old-time,
time, old-locale, convertible
else
Buildable: False
Main-Is: runtests.hs
Other-Modules: Database.HDBC.ODBC,
Database.HDBC.ODBC.Connection,
Database.HDBC.ODBC.Statement,
Database.HDBC.ODBC.Types,
Database.HDBC.ODBC.Utils,
Database.HDBC.ODBC.TypeConv,
Database.HDBC.ODBC.ConnectionImpl
SpecificDB,
SpecificDBTests,
TestMisc,
TestSbasics,
TestUtils,
Testbasics,
Tests
Hs-Source-Dirs: ., testsrc
C-Sources: hdbc-odbc-helper.c
if os(mingw32) || os(win32)
Extra-Libraries: odbc32
else
Extra-Libraries: odbc
include-dirs: .
GHC-Options: -O2
Extensions:
ExistentialQuantification,
ForeignFunctionInterface,
PatternSignatures
Executable stresstest
if flag(buildstresstest)
Buildable: True
Build-Depends:
base
, HDBC
, HDBC-odbc
, random
, resource-pool
else
Buildable: False
Main-Is: stresstest.hs
Hs-Source-Dirs: stresstest
GHC-Options: -threaded -rtsopts