Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

106 lines (90 sloc) 3.709 kb
name: snaplet-sqlite-simple
version: 0.4.2
synopsis: sqlite-simple snaplet for the Snap Framework
description: This snaplet provides support for using the SQLite
database with a Snap Framework application via the
sqlite-simple package. It also includes an
authentication backend.
.
See
<https://github.com/nurpax/snaplet-sqlite-simple/tree/master/example>
for an example project that demonstrates the use of
this snaplet. It implements a stand-alone application
with a login screen that persists user information in
a SQLite database and allows a logged in user to save
comments. Querying and listing comments demonstrates
how a user of snaplet-sqlite-simple might relate
Snaplet.Auth based AuthUsers to his own tables.
license: BSD3
license-file: LICENSE
author: Janne Hellsten, Doug Beardsley
maintainer: Janne Hellsten <jjhellst@gmail.com>
build-type: Simple
cabal-version: >= 1.10
homepage: https://github.com/nurpax/snaplet-sqlite-simple
category: Web, Snap
extra-source-files: LICENSE
data-files:
resources/db/devel.cfg
resources/auth/devel.cfg
source-repository head
type: git
location: https://github.com/nurpax/snaplet-sqlite-simple.git
Library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules:
Snap.Snaplet.SqliteSimple
Snap.Snaplet.Auth.Backends.SqliteSimple
other-modules:
Paths_snaplet_sqlite_simple
build-depends:
aeson >= 0.6 && < 0.7,
base >= 4 && < 5,
bytestring >= 0.9.1 && < 0.11,
clientsession >= 0.8 && < 0.9,
configurator >= 0.2 && < 0.3,
MonadCatchIO-transformers >= 0.3 && < 0.4,
mtl >= 2 && < 3,
sqlite-simple >= 0.4.1 && < 1.0,
direct-sqlite >= 2.3.3 && < 2.4,
snap >= 0.10 && < 0.12,
text >= 0.11 && < 0.12,
transformers >= 0.2 && < 0.4,
unordered-containers >= 0.2 && < 0.3
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-orphans -fno-warn-unused-do-bind
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: TestSuite.hs
other-modules: App
, Tests
, SafeCWD
build-depends:
aeson >= 0.6 && < 0.7,
HUnit >= 1.2 && < 2,
MonadCatchIO-transformers >= 0.2 && < 0.4,
base >= 4 && < 5,
bytestring >= 0.9 && < 0.11,
clientsession,
configurator >= 0.1 && < 0.3,
containers >= 0.3,
directory >= 1.0 && < 1.3,
errors >= 1.3.1 && < 1.5,
lens >= 3.7.0.1 && < 3.9,
mtl >= 2,
snap-core,
snap,
snaplet-sqlite-simple,
sqlite-simple,
stm >= 2.4,
test-framework >= 0.6 && < 0.9,
test-framework-hunit >= 0.2.7 && < 0.4,
text >= 0.11 && < 0.12,
time >= 1.1,
transformers >= 0.2,
unordered-containers >= 0.2 && < 0.3
default-extensions:
FlexibleInstances
Jump to Line
Something went wrong with that request. Please try again.