Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

108 lines (92 sloc) 3.467 kB
name: snaplet-sqlite-simple
version: 0.4.8.3
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.10,
base >= 4 && < 5,
bytestring >= 0.9.1 && < 0.11,
clientsession >= 0.8 && < 0.10,
configurator >= 0.2 && < 0.4,
lens >= 3.7.6 && < 5,
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.13 && < 0.15,
text >= 0.11 && < 1.3,
transformers >= 0.3 && < 0.5,
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,
HUnit >= 1.2 && < 2,
MonadCatchIO-transformers,
base,
bytestring,
clientsession,
configurator,
containers >= 0.3,
directory >= 1.0 && < 1.3,
errors >= 1.3.1 && < 1.5,
lens,
mtl,
SafeSemaphore,
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,
time >= 1.1,
transformers,
unordered-containers >= 0.2 && < 0.3
default-extensions:
FlexibleInstances
Jump to Line
Something went wrong with that request. Please try again.