name:                  seakale-postgresql
version:               0.1.1.0
synopsis:              PostgreSQL backend for Seakale
description:           This package provides a way to run code written with Seakale with a PostgreSQL database.
license:               BSD3
license-file:          LICENSE
author:                Thomas Feron
maintainer:            thomas.feron@redspline.com
category:              Database
build-type:            Simple
extra-source-files:    ChangeLog.md
cabal-version:         >=1.10

source-repository head
  type:                darcs
  location:            http://darcs.redspline.com/seakale
  tag:                 seakale-postgresql-0.1.1.0

library
  ghc-options:         -Wall
  hs-source-dirs:      src
  default-language:    Haskell2010

  default-extensions:  TypeFamilies
                       OverloadedStrings
                       FlexibleInstances
                       MultiParamTypeClasses
                       FunctionalDependencies
                       ConstraintKinds
                       LambdaCase
                       RecordWildCards
                       OverloadedStrings
                       FlexibleContexts

  exposed-modules:     Database.Seakale.PostgreSQL
                       Database.Seakale.PostgreSQL.FromRow
                       Database.Seakale.PostgreSQL.ToRow

  build-depends:       base >=4.8 && <4.10
                     , seakale ==0.1.*
                     , postgresql-libpq
                     , bytestring
                     , mtl
                     , free
                     , time