name:                sqlite-simple-errors
version:             0.6.1.0
synopsis:            Wrapper around errors from sqlite-simple
description:         Wrapper around errors from sqlite-simple. Get easy-to-pattern-match
                     data types for constraint errors.
homepage:            https://github.com/caneroj1/sqlite-simple-errors
license:             BSD3
license-file:        LICENSE
author:              Joe Canero
maintainer:          jmc41493@gmail.com
copyright:           Copyright: (c) 2016 Joe Canero
category:            Database
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Database.SQLite.SimpleErrors
                     , Database.SQLite.SimpleErrors.Parser
                     , Database.SQLite.SimpleErrors.Types
  build-depends:       base          >= 4.6   && < 5
                     , sqlite-simple >= 0.4.9 && < 0.5.0
                     , text          >= 1.2   && < 1.2.4
                     , parsec        >= 3.1.9 && < 3.2
  default-language:    Haskell2010

test-suite sqlite-simple-errors-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  other-modules:       Utils
                     , SQLUtils
  main-is:             Spec.hs
  build-depends:       base
                     , sqlite-simple-errors
                     , sqlite-simple >= 0.4.9 && < 0.5.0
                     , text          >= 1.2   && < 1.2.4
                     , mtl           >= 2.1   && < 2.3
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/caneroj1/sqlite-simple-errors
