packages feed

transfer-db-0.3.1.0: transfer-db.cabal

name:                transfer-db
version:             0.3.1.0
-- synopsis:
description:         Simple SQL/CLI application that transfers data between 2 databases.
homepage:            http://hub.darcs.net/mihaigiurgeanu/transfer-db
license:             BSD3
license-file:        LICENSE
author:              Mihai Giurgeanu
maintainer:          mihai.giurgeanu@gmail.com
copyright:           2017 Mihai Giurgeanu
category:            Database
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md,
                     ChangeLog

library
  hs-source-dirs:     lib
  default-language:   Haskell2010
  exposed-modules:    Database.TransferDB.DumpDB,
                      Database.TransferDB.DumpDB.Format,
                      Database.TransferDB.Commons,
                      Control.Monad.Trans.StringError
  build-depends:      base >= 4.7 && < 5,
                      sqlcli,
                      sqlcli-odbc,
                      transformers >= 0.5 && < 0.6,
                      bytestring >= 0.10.8 && < 0.11,
                      logging >= 3.0 && < 4,
                      store >= 0.4.3 && < 0.5,
                      store-core >= 0.4.1 && < 0.5,
                      th-utilities >= 0.2.0.1 && < 0.3,
                      time >= 1.8 && < 1.9,
                      text >= 0.11.3.1,
                      monad-control >=0.3.2.3,
                      stm >= 2.4 && < 2.5,
                      temporary >= 1.1 && < 1.3,
                      containers >= 0.5 && < 0.6,
                      clock >= 0.7 && < 0.8
                      
executable transfer-db
  hs-source-dirs:      src
  main-is:             Main.hs
  other-modules:       TransferPlan, Options, TransferDB, Generator, CorrectionPlan
  default-language:    Haskell2010
  ghc-options:         -threaded -rtsopts -O2
  build-depends:       base >= 4.7 && < 5,
                       transformers >= 0.5 && < 0.6,
                       yaml >= 0.8.22 && < 0.9,
                       aeson >= 1.0,
                       console-program >= 0.4.2.0 && < 0.5,
                       bytestring >= 0.10.8 && < 0.11,
                       logging >= 3.0 && < 4,
                       time >= 1.8 && < 1.9,
                       stm >= 2.4 && < 2.5,
                       containers >= 0.5 && < 0.6,
                       clock >= 0.7 && < 0.8,
                       monad-control >=0.3.2.3,
                       cassava >= 0.5.0.0 && < 0.6,
                       sqlcli,
                       sqlcli-odbc,
                       transfer-db

test-suite hspec-tests
  hs-source-dirs:      tests
  type:                exitcode-stdio-1.0
  main-is:             hspec-tests.hs
  ghc-options:         -threaded
  other-modules:       Database.TransferDB.DumpDB.FormatSpec,
                       Database.TransferDB.DumpDBSpec
  default-language:    Haskell2010
  build-depends:       base >= 4.7 && < 5,
                       hspec >= 2.4.4 && < 2.5,
                       QuickCheck >= 2.10.1 && < 2.11,
                       store >= 0.4.3 && < 0.5,
                       time >= 1.8 && < 1.9,
                       bytestring >= 0.10.8 && < 0.11,
                       transformers >= 0.5 && < 0.6,
                       cpu >= 0.1.2 && < 0.2,
                       transfer-db,
                       sqlcli