name:                wai-session-postgresql
version:             0.2.1.3
synopsis:            PostgreSQL backed Wai session store
description:         Provides a PostgreSQL backed session store for the Network.Wai.Session interface.
homepage:            https://github.com/hce/postgresql-session#readme
bug-reports:         https://github.com/hce/postgresql-session/issues
license:             BSD3
license-file:        LICENSE
author:              Hans-Christian Esperer <hc@hcesperer.org>
maintainer:          Hans-Christian Esperer <hc@hcesperer.org>
copyright:           2015 Hans-Christian Esperer
stability:           experimental
tested-with:         GHC == 8.1
category:            Web
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  changelog.md

library
  hs-source-dirs:      src
  exposed-modules:     Network.Wai.Session.PostgreSQL
  build-depends:       base >= 4.5 && < 5
                     , bytestring
                     , cereal
                     , cookie
                     , data-default
                     , entropy
                     , postgresql-simple
                     , resource-pool
                     , text
                     , time
                     , transformers
                     , wai
                     , wai-session
  default-language:    Haskell2010
  default-extensions:  OverloadedStrings

test-suite postgresql-session-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , bytestring
                     , data-default
                     , postgresql-simple
                     , text
                     , wai-session
                     , wai-session-postgresql
                     , hspec
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/hce/postgresql-session