packages feed

drifter-sqlite-0.1.0.0: drifter-sqlite.cabal

-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 1c812093b91becb632c3972bb1823dedd068a8d7435c734b27fb9aaf1095e484

name:           drifter-sqlite
version:        0.1.0.0
synopsis:       SQLite support for the drifter schema migraiton tool
description:    Please see the README on GitHub at <https://github.com/MichaelXavier/drifter-sqlite#readme>
category:       Database
homepage:       https://github.com/MichaelXavier/drifter-sqlite#readme
bug-reports:    https://github.com/MichaelXavier/drifter-sqlite/issues
author:         Michael Xavier
maintainer:     michael@michaelxavier.net
copyright:      2018 Michael Xavier
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/MichaelXavier/drifter-sqlite

flag lib-Werror
  description: Treat warnings as errors
  manual: True
  default: False

library
  exposed-modules:
      Drifter.SQLite
  other-modules:
      Paths_drifter_sqlite
  hs-source-dirs:
      src
  default-extensions: ScopedTypeVariables TypeFamilies GeneralizedNewtypeDeriving OverloadedStrings
  build-depends:
      base >=4.7 && <5
    , containers
    , drifter >=0.2.1
    , mtl
    , sqlite-simple
    , time
    , transformers
  if flag(lib-Werror)
    ghc-options: -Werror -Wall
  else
    ghc-options: -Wall
  default-language: Haskell2010

test-suite drifter-sqlite-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_drifter_sqlite
  hs-source-dirs:
      test
  default-extensions: ScopedTypeVariables TypeFamilies GeneralizedNewtypeDeriving OverloadedStrings
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , containers
    , directory
    , drifter >=0.2.1
    , drifter-sqlite
    , mtl
    , sqlite-simple
    , tasty
    , tasty-hunit
    , text
    , time
    , transformers
  if flag(lib-Werror)
    ghc-options: -Werror -Wall
  else
    ghc-options: -Wall
  default-language: Haskell2010