packages feed

persistent-odbc-0.1.2.1: persistent-odbc.cabal

name:               persistent-odbc
version:            0.1.2.1
synopsis:           Backend for the persistent library using ODBC
license:            MIT
license-file:       LICENSE
author:             Grant Weyburne
maintainer:         gbwey9@gmail.com
category:           Database, Yesod
cabal-version:      >= 1.8
build-type:         Simple
stability:          Experimental
homepage:           https://github.com/gbwey/persistent-odbc
bug-reports:        https://github.com/gbwey/persistent-odbc/issues
description:        
    This package contains backends for persistent using ODBC.
    It currently supports the following databases: MSSQL, MySql, Oracle, Sqlite, DB2, Postgres. 
    Uses HDBC-ODBC for accessing ODBC. 

Flag debug
  Default: False

Flag tester
  Default: False
  
library
  if flag(debug)
    cpp-options: -DDEBUG

  exposed-modules:    Database.Persist.ODBC
                    , Database.Persist.ODBCTypes
                    , Database.Persist.MigrateOracle
                    , Database.Persist.MigratePostgres
                    , Database.Persist.MigrateSqlite
                    , Database.Persist.MigrateMSSQL
                    , Database.Persist.MigrateMySQL
                    , Database.Persist.MigrateDB2
                    
  ghc-options:   -Wall
  hs-source-dirs: src

  build-depends:      base         >= 4        && < 5
                    , text          >= 0.7
                    , aeson         >= 0.6
                    , time          >= 1.1
                    , conduit       >= 1.0
                    , containers    >= 0.4
                    , transformers  >= 0.3
                    , convertible   >= 1.0
                    , HDBC          >= 2.2
                    , HDBC-odbc     >= 2.2 
                    , monad-logger
                    , resourcet
                    , monad-control
                    , persistent-template >= 1.2    && < 1.4
                    , persistent    >= 1.2    && < 1.4
                    , bytestring    >= 0.9

  if flag(tester) 
                    hs-source-dirs: examples
                    exposed-modules: TestODBC
                                   , FtypeEnum
                    build-depends: blaze-html
                                 , esqueleto

source-repository head
  type:     git
  location: git://github.com/gbwey/persistent-odbc.git