packages feed

dbmigrations-postgresql-2.0.0: dbmigrations-postgresql.cabal

Name:                dbmigrations-postgresql
Version:             2.0.0
Synopsis:            The dbmigrations tool built for PostgreSQL databases
Description:         This package contains the executable to work with
                     the dbmigrations package when the database backend
                     is PostgreSQL. See the package dbmigrations for details
                     about the dbmigrations project in general.

                     To get started, see the 'README.md'
                     (https://github.com/jtdaugherty/dbmigrations/blob/master/README.md)
                     and 'MOO.TXT'
                     (https://github.com/jtdaugherty/dbmigrations/blob/master/MOO.TXT)
                     files included in the dbmigrations package and the
                     usage output for the 'moo-postgresql' command.

Category:            Database
Author:              Jonathan Daugherty <cygnus@foobox.com>
Maintainer:          Jonathan Daugherty <cygnus@foobox.com>
Build-Type:          Simple
License:             BSD3
License-File:        LICENSE
Cabal-Version:       >= 1.10

Source-Repository head
  type:     git
  location: git://github.com/jtdaugherty/dbmigrations-postgresql.git

Executable moo-postgresql
  default-language: Haskell2010
  Build-Depends:
    base >= 4 && < 5,
    dbmigrations >= 2,
    HDBC-postgresql

  if impl(ghc >= 6.12.0)
    ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
                 -fno-warn-unused-do-bind
  else
    ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields

  Hs-Source-Dirs:  programs
  Main-is:         MooPostgreSQL.hs

test-suite dbmigrations-postgresql-tests
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  Build-Depends:
    base >= 4 && < 5,
    dbmigrations >= 2,
    HDBC >= 2.2.1,
    HDBC-postgresql == 2.3.2.4,
    process >= 1.1,
    HUnit >= 1.2

  other-modules:
    TestDriver

  if impl(ghc >= 6.12.0)
    ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
                 -fno-warn-unused-do-bind -Wwarn
  else
    ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields

  Hs-Source-Dirs:  test
  Main-is:         TestDriver.hs