-
Notifications
You must be signed in to change notification settings - Fork 4
/
postgresql-transactional.cabal
52 lines (46 loc) · 1.63 KB
/
postgresql-transactional.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
name: postgresql-transactional
version: 1.3.1
synopsis: a transactional monad on top of postgresql-simple
license: MIT
license-file: LICENSE.txt
author: Reid Draper and Patrick Thomson
maintainer: [email protected]
copyright: 2015 Helium
category: Database
build-type: Simple
cabal-version: >=1.10
description:
This package is a simple monadic wrapper around the SQL primitives
provided by the postgresql-simple package. It provides simple and
predictable semantics for database options, enforces awareness of
Postgres's transactional nature at API boundaries, and obviates
the need for SQL boilerplate in transactional queries.
source-repository head
type: git
location: https://github.com/helium/postgresql-transactional.git
library
exposed-modules: Database.PostgreSQL.Transaction
, Database.PostgreSQL.Tagged
hs-source-dirs: src
ghc-options: -Wall
-- other-extensions:
build-depends: base >= 4 && < 5
, exceptions
, monad-control
, mtl
, postgresql-simple >= 0.4
default-language: Haskell2010
test-suite unit-tests
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: Database.PostgreSQL.TransactionSpec
hs-source-dirs: tests
ghc-options: -Wall
default-language: Haskell2010
Build-Depends: base
, bytestring
, exceptions
, hspec
, postgresql-simple
, postgresql-transactional
, process