packages feed

drifter-postgresql-0.0.2: drifter-postgresql.cabal

name:                drifter-postgresql
version:             0.0.2
synopsis:            PostgreSQL support for the drifter schema migration tool
description:         Support for postgresql-simple Query migrations as well as
                     arbitrary Haskell IO functions. Be sure to check the
                     examples dir for a usage example.
license:             MIT
license-file:        LICENSE
author:              Michael Xavier
maintainer:          michael@michaelxavier.net
category:            Database
build-type:          Simple
cabal-version:       >=1.10
tested-with:   GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1
extra-source-files:
  README.md
  changelog.md
  examples/Example.hs
  test/Main.hs

flag lib-Werror
  default: False
  manual: True

library
  exposed-modules:   Drifter.PostgreSQL
  build-depends:       base >=4.5 && <5
                     , postgresql-simple >= 0.2
                     , drifter >= 0.2
                     , time
                     , either
                     , mtl
  hs-source-dirs:      src
  default-language:    Haskell2010

  if flag(lib-Werror)
    ghc-options: -Werror

  ghc-options: -Wall


test-suite test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:     test
  default-language:   Haskell2010

  build-depends:    base
                  , drifter
                  , postgresql-simple
                  , drifter-postgresql
                  , tasty
                  , tasty-hunit
                  , either
                  , text

  if flag(lib-Werror)
    ghc-options: -Werror

  ghc-options: -Wall