packages feed

postgresql-simple-opts-0.3.0.1: postgresql-simple-opts.cabal

name:                postgresql-simple-opts
version:             0.3.0.1
synopsis:            An optparse-applicative parser for postgresql-simple's connection options
description:         This package exports a optparse-applicative parser and type for postgresql-simple's Options and connection string.
homepage:            https://github.com/jfischoff/postgresql-simple-opts#readme
license:             BSD3
license-file:        LICENSE
author:              Jonathan Fischoff
maintainer:          jonathangfischoff@gmail.com
copyright:           2016 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
               , postgresql-simple
               , optparse-applicative
               , bytestring
               , either
               , optparse-generic
               , data-default
               , split
               , uri-bytestring
               , generic-deriving
  default-language:    Haskell2010
  ghc-options: -Wall
               -fno-warn-unused-do-bind

test-suite postgresql-simple-opts-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , postgresql-simple-opts
                     , hspec
                     , postgresql-simple
                     , optparse-applicative
                     , bytestring
                     , data-default
  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/postgresql-simple-opts