-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathsnaplet-postgresql-simple.cabal
98 lines (84 loc) · 2.68 KB
/
snaplet-postgresql-simple.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: snaplet-postgresql-simple
version: 1.2.0.0
synopsis: postgresql-simple snaplet for the Snap Framework
description: This snaplet contains support for using the Postgresql
database with a Snap Framework application via the
postgresql-simple package. It also includes an
authentication backend.
license: BSD3
license-file: LICENSE
author: Doug Beardsley
maintainer: [email protected]
build-type: Simple
cabal-version: >= 1.10
homepage: https://github.com/mightybyte/snaplet-postgresql-simple
category: Web, Snap
tested-with:
GHC == 7.8.4,
GHC == 7.10.3,
GHC == 8.0.2,
GHC == 8.2.2,
GHC == 8.4.3,
GHC == 8.6.4,
GHC == 8.8.3,
GHC == 8.10.2
extra-source-files:
LICENSE
README.md
data-files:
resources/db/devel.cfg
resources/auth/devel.cfg
source-repository head
type: git
location: https://github.com/mightybyte/snaplet-postgresql-simple.git
flag Example
description: Enable example
default: False
Library
hs-source-dirs: src
exposed-modules:
Snap.Snaplet.PostgresqlSimple
Snap.Snaplet.Auth.Backends.PostgresqlSimple
other-modules:
Snap.Snaplet.PostgresqlSimple.Internal
Paths_snaplet_postgresql_simple
build-depends:
base >= 4 && < 4.15,
bytestring >= 0.9.1 && < 0.11,
clientsession >= 0.7.2 && < 0.10,
configurator >= 0.2 && < 0.4,
lens >= 3.7.6 && < 4.20,
lifted-base >= 0.2 && < 0.3,
monad-control >= 1.0 && < 1.1,
mtl >= 2 && < 2.3,
postgresql-simple >= 0.3 && < 0.7,
resource-pool >= 0.2 && < 0.3,
snap >= 1.0 && < 1.2,
text >= 0.11 && < 1.3,
transformers >= 0.2 && < 0.6,
transformers-base >= 0.4 && < 0.5,
unordered-containers >= 0.2 && < 0.3
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-orphans -fno-warn-unused-do-bind
default-language: Haskell2010
executable Example
if flag(Example)
buildable: True
else
buildable: False
build-depends: base,
aeson,
bytestring,
heist,
lens,
postgresql-simple,
mtl,
snap,
snap-core,
snaplet-postgresql-simple,
text,
time,
xmlhtml
default-language: Haskell2010
hs-source-dirs: example
main-is: Site.hs