packages feed

hdbi-1.2.0: hdbi.cabal

Name: hdbi
Version: 1.2.0
License: BSD3
Maintainer: Aleksey Uymanov <s9gf4ult@gmail.com>
Author: John Goerzen
homepage: https://github.com/s9gf4ult/hdbi
Copyright: Copyright (c) 2005-2013 John Goerzen
license-file: LICENSE
extra-source-files: LICENSE, README.md
Category: Database
synopsis: Haskell Database Independent interface
Description: HDBI provides an abstraction layer between Haskell programs and SQL
 relational databases. This lets you write database code once, in
 Haskell, and have it work with any number of backend SQL databases
 (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)

Stability: experimental
Build-Type: Simple

Cabal-Version: >=1.8

source-repository head
  type:            git
  location:        https://github.com/s9gf4ult/hdbi.git


library

  Build-Depends: base>=3 && <5
               , Decimal >= 0.2.1
               , attoparsec
               , blaze-builder
               , bytestring
               , containers
               , deepseq
               , old-locale
               , stm
               , template-haskell
               , text
               , time >= 1.1.2.4 && <=1.5
               , uuid >= 1.0.0

  -- Hack for cabal-install weirdness.  cabal-install forces base 3,
  -- though it works fine for Setup.lhs manually.  Fix.
  if impl(ghc >= 6.9)
     build-depends: base >= 4

  GHC-Options: -Wall -fno-warn-orphans
  ghc-prof-options: -fprof-auto

  Exposed-Modules: Database.HDBI
                 , Database.HDBI.DriverUtils
                 , Database.HDBI.SqlValue
                 , Database.HDBI.Types
                 , Database.HDBI.Formaters
                 , Database.HDBI.Parsers
                 , Language.Haskell.TH.HDBI

Test-Suite sqlvalues
  Type:             exitcode-stdio-1.0
  Main-Is:          testsrc/sqlvalues.hs
  other-modules: Database.HDBI
  GHC-Options: -Wall -main-is SqlValues -fno-warn-orphans
  ghc-prof-options: -fprof-auto
  Build-Depends:    base >= 4
                  , Decimal >= 0.2.1
                  , HUnit
                  , QuickCheck
                  , attoparsec
                  , blaze-builder
                  , bytestring
                  , containers
                  , deepseq
                  , derive
                  , old-locale
                  , quickcheck-assertions
                  , quickcheck-instances
                  , template-haskell
                  , test-framework
                  , test-framework-hunit
                  , test-framework-quickcheck2
                  , text
                  , time >=1.1.2.4 && <=1.5
                  , uuid >= 1.0.0

Test-Suite dummydriver
  Type:             exitcode-stdio-1.0
  Main-Is:          testsrc/dummydriver.hs
  other-modules: Database.HDBI
               , Database.HDBI.DriverUtils
  GHC-Options: -Wall -main-is DummyDriver -fno-warn-orphans -threaded
  ghc-prof-options: -fprof-auto
  Build-Depends:    base
                  , Decimal >= 0.2.1
                  , HUnit
                  , attoparsec
                  , blaze-builder
                  , bytestring
                  , containers
                  , deepseq
                  , hspec-expectations
                  , old-locale
                  , stm
                  , test-framework
                  , test-framework-hunit
                  , text
                  , time >=1.1.2.4 && <=1.5
                  , uuid >= 1.0.0