-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpersistent-migrationplus.cabal
116 lines (101 loc) · 4.25 KB
/
persistent-migrationplus.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
name: persistent-migrationplus
version: 0.0.1
license: MIT
license-file: LICENSE
author: João Cristóvão <[email protected]>
maintainer: João Cristóvão <[email protected]>
synopsis: Execute additional actions at migration.
description: Currently supports the addition of triggers to persistent.
category: Database, Yesod
stability: Unstable
cabal-version: >= 1.8
build-type: Simple
homepage: https://github.com/jcristovao
Flag postgresql
Description: postgresql extension
Default: False
Flag mysql
Description: mysql extension
Default: False
Flag sqlite
Description: sqlite extension
Default: False
library
build-depends: base >= 4 && < 5
, persistent >= 1.2.3.1 && < 1.3
, containers >= 0.2
, transformers >= 0.3
, transformers-base >= 0.4
, bytestring >= 0.9
, text >= 0.7
, monad-control >= 0.2
, blaze-builder
, time >= 1.1
, aeson >= 0.5
, conduit >= 0.5.3
, template-haskell >= 2.5
, persistent-template >= 1.2.0.2
, hssqlppp >= 0.5
, shakespeare-text >= 1.0.0.6
exposed-modules: Database.Persist.Migrationplus
hs-source-dirs: src
ghc-options: -Wall
if flag(postgresql)
build-depends: persistent-postgresql >= 1.2.2
, postgresql-simple >= 0.3 && < 0.4
, postgresql-libpq >= 0.6.1 && < 0.9
exposed-modules:Database.Persist.Postgresql.Migrationplus
cpp-options: -DWITH_POSTGRESQL
if flag(mysql)
build-depends: persistent-mysql >= 1.2.0
, mysql-simple >= 0.2.2.5
cpp-options: -DWITH_MYSQL
if flag(sqlite)
build-depends: persistent-sqlite >= 1.2.1
exposed-modules:Database.Persist.Sqlite.Migrationplus
cpp-options: -DWITH_SQLITE
test-suite test
type: exitcode-stdio-1.0
main-is: main.hs
hs-source-dirs: test,src
build-depends: base >= 4 && < 5
, persistent >= 1.2.3.1 && < 1.3
, containers >= 0.2
, transformers >= 0.3
, transformers-base >= 0.4
, bytestring >= 0.9
, text >= 0.7
, monad-control >= 0.2
, blaze-builder
, time >= 1.1
, aeson >= 0.5
, conduit >= 0.5.3
, template-haskell >= 2.5
, persistent-template >= 1.2.0.2
, hssqlppp >= 0.5
, shakespeare-text >= 1.0.0.6
, random >= 1.0.1.1
, monad-logger >= 0.3.1.1
, resourcet >= 0.4.8
, system-filepath >= 0.4.7
, system-fileio >= 0.3.11
, QuickCheck >= 2.6
, HUnit >= 1.2.5.2
, hspec >= 1.7.2
, async >= 2.0.1.4
--, persistent-sqlite >= 1.2.1
if flag(postgresql)
build-depends: persistent-postgresql >= 1.2.2
, postgresql-simple >= 0.3 && < 0.4
, postgresql-libpq >= 0.8.2.4
cpp-options: -DWITH_POSTGRESQL
if flag(mysql)
build-depends: persistent-mysql >= 1.2.0
, mysql-simple >= 0.2.2.5
cpp-options: -DWITH_MYSQL
if flag(sqlite)
build-depends: persistent-sqlite >= 1.2.1
cpp-options: -DWITH_SQLITE
source-repository head
type: git
location: https://github.com/jcristovao/migrationplus