-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathhasql-interpolate.cabal
81 lines (74 loc) · 3.26 KB
/
hasql-interpolate.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
cabal-version: 2.4
name: hasql-interpolate
version: 1.0.1.0
x-revision: 2
author: Travis Staton, Mitchell Dalvi Rosen
category: Hasql, Database, PostgreSQL
copyright: Copyright (C) 2021-2025 Travis Staton, Mitchell Dalvi Rosen
extra-source-files: CHANGELOG.md
homepage: https://github.com/awkward-squad/hasql-interpolate
license-file: LICENSE
license: BSD-3-Clause
tested-with: GHC == 9.2.8, GHC == 9.4.5
synopsis: QuasiQuoter that supports expression interpolation for hasql
description:
@hasql-interpolate@ provides a sql QuasiQuoter for hasql that
supports interpolation of haskell expressions and splicing of sql
snippets. A number of type classes are also provided to reduce
encoder/decoder boilerplate.
library
exposed-modules: Hasql.Interpolate
Hasql.Interpolate.Internal.TH
other-modules: Hasql.Interpolate.Internal.Json
Hasql.Interpolate.Internal.Encoder
Hasql.Interpolate.Internal.Decoder
Hasql.Interpolate.Internal.OneColumn
Hasql.Interpolate.Internal.OneRow
Hasql.Interpolate.Internal.RowsAffected
Hasql.Interpolate.Internal.Decoder.TH
Hasql.Interpolate.Internal.Sql
Hasql.Interpolate.Internal.CompositeValue
Hasql.Interpolate.Internal.EncodeRow
Hasql.Interpolate.Internal.EncodeRow.TH
build-depends: aeson ^>= 1.5 || ^>= 2.0 || ^>= 2.1 || ^>= 2.2,
array ^>= 0.5,
base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 || ^>= 4.20,
bytestring ^>= 0.11.2.0 || ^>= 0.12,
containers ^>= 0.5 || ^>= 0.6 || ^>= 0.7,
haskell-src-meta ^>= 0.8,
hasql ^>= 1.8 || ^>= 1.9,
iproute ^>= 1.7,
megaparsec ^>= 8.0.0 || ^>= 9.0 || ^>= 9.1 || ^>= 9.2 || ^>= 9.3 || ^>= 9.4 || ^>= 9.5 || ^>= 9.6 || ^>= 9.7,
mtl ^>= 2.1 || ^>= 2.2 || ^>= 2.3,
scientific ^>= 0.3,
template-haskell ^>= 2.14 || ^>= 2.15 || ^>= 2.16 || ^>= 2.17 || ^>= 2.18 || ^>= 2.19 || ^>= 2.20 || ^>= 2.21 || ^>= 2.22,
text ^>= 1.2.4 || ^>= 2.0 || ^>= 2.1,
time ^>= 1.9.3 || ^>= 1.10 || ^>= 1.11 || ^>= 1.12 || ^>= 1.14,
transformers ^>= 0.5 || ^>= 0.6,
uuid ^>= 1.3,
vector ^>= 0.11 || ^>= 0.12 || ^>= 0.13,
hs-source-dirs: lib
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-O2
test-suite unit
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends: base
, hasql
, hasql-interpolate
, template-haskell
, tasty
, text
, tasty-hunit
, tmp-postgres
hs-source-dirs: test
default-language: Haskell2010