packages feed

snaplet-persistent-0.5.1: snaplet-persistent.cabal

name:           snaplet-persistent
version:        0.5.1
synopsis:       persistent snaplet for the Snap Framework
description:    Snaplet support for using the Postgresql database
                with a Snap Framework application via the persistent
                package.  It also includes an authentication backend.
license:        BSD3
license-file:   LICENSE
author:         Soostone Inc. Ozgun Ataman, Doug Beardsley
maintainer:     ozataman@gmail.com, mightybyte@gmail.com
build-type:     Simple
cabal-version:  >= 1.6
homepage:       https://github.com/soostone/snaplet-persistent
category:       Web, Snap

extra-source-files:  LICENSE,
                     CHANGELOG.md

data-files:
  schema.txt
  resources/db/devel.cfg
  resources/auth/devel.cfg

source-repository head
  type:     git
  location: https://github.com/soostone/snaplet-persistent.git

flag lib-Werror
  default: False
  manual: True

Library
  hs-source-dirs: src

  exposed-modules:
    Snap.Snaplet.Persistent
    Snap.Snaplet.Auth.Backends.Persistent

  other-modules:
    Snap.Snaplet.Auth.Backends.Persistent.Types
    Paths_snaplet_persistent

  build-depends:
    base                       >= 4       && < 5,
    bytestring                 >= 0.9.1   && < 0.11,
    clientsession              >= 0.7.2   && < 0.10,
    configurator               >= 0.2     && < 0.4,
    heist                      >= 0.14    && < 1.1,
    lens                       >= 3.7.6   && < 5,
    errors                     >= 1.4     && < 2.3,
    monad-logger               >= 0.2.4   && < 0.4,
    mtl                        >= 2       && < 3,
    persistent                 >= 2.0     && < 2.8,
    persistent-postgresql      >= 2.0     && < 2.7,
    persistent-template        >= 2.0     && < 2.6,
    readable                   >= 0.1     && < 0.4,
    resource-pool              >= 0.2     && < 0.3,
    resourcet                  >= 0.4     && < 1.2,
    safe                       >= 0.3     && < 0.4,
    snap                       >= 0.13    && < 1.1,
    text                       >= 0.11    && < 1.3,
    time                       >= 1.1     && < 1.7,
    transformers               >= 0.2     && < 0.6,
    unordered-containers       >= 0.2     && < 0.3,
    map-syntax


  ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
               -fno-warn-orphans -fno-warn-unused-do-bind

  if flag(lib-Werror)
    ghc-options: -Werror