packages feed

postgres-options-0.2.0.0: postgres-options.cabal

name:                postgres-options
version:             0.2.0.0
synopsis:            An Options type representing options for postgres connections
description:         This package exports an Options type representing options for postgres connections
homepage:            https://github.com/jfischoff/postgres-options#readme
license:             BSD3
license-file:        LICENSE
author:              Jonathan Fischoff
maintainer:          jonathangfischoff@gmail.com
copyright:           2019 Jonathan Fischoff
category:            Database
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Database.PostgreSQL.Simple.Options
  build-depends:
      base >= 4.6 && < 5
    , bytestring
    , split
    , uri-bytestring
    , generic-monoid
  default-language:    Haskell2010
  ghc-options: -Wall
               -fno-warn-unused-do-bind
  default-extensions:
      LambdaCase
    , RecordWildCards
    , GADTs
    , OverloadedStrings
    , DerivingStrategies
    , DerivingVia
    , TupleSections
    , DeriveGeneric

test-suite unit-tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , hspec
                     , postgres-options
  ghc-options: -Wall
               -fno-warn-unused-do-bind
               -threaded
               -rtsopts
               -with-rtsopts=-N
  default-language:    Haskell2010


source-repository head
  type:     git
  location: https://github.com/jfischoff/postgres-options