packages feed

sqlcli-0.1.0.0: sqlcli.cabal

name:                sqlcli
version:             0.1.0.0
synopsis:            Sql Call-Level Interface bindings for Haskell.
description:         Provides bindings to SQL/CLI C API, importing
                     all foreign functions defined in the specifications,
                     defining types and constants used in the specification.
                     
                     Also it provides some wrapers to the foreign C calls and
                     utilities to make using the SQL/CLI easier for the Haskell
                     programmer.
                     
homepage:            http://hub.darcs.net/mihaigiurgeanu/sqlcli
license:             BSD3
license-file:        LICENSE
author:              Mihai Giurgeanu
maintainer:          mihai.giurgean@gmail.com
copyright:           2017 Mihai Giurgeanu
category:            Database
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

Flag ODBC
  Description:  Compile against ODBC library
  Default:      False
  Manual:       True

library
  hs-source-dirs:      src
  exposed-modules:     SQL.CLI,
                       SQL.CLI.Utils
  build-depends:       base >= 4.7 && < 5,
                       transformers >= 0.5 && < 0.6
  default-language:    Haskell2010

  if flag(odbc)
    if os(windows)
       extra-libraries: odbc32
    else
       extra-libraries: odbc


source-repository head
  type:     darcs
  location: http://hub.darcs.net/mihaigiurgeanu/sqlcli