File: persistent-postgresql.cabal

package info (click to toggle)
haskell-persistent-postgresql 2.13.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276 kB
  • sloc: haskell: 3,523; makefile: 2
file content (116 lines) | stat: -rw-r--r-- 2,851 bytes parent folder | download
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-postgresql
version:            2.13.7.0
license:            MIT
license-file:       LICENSE
author:             Felipe Lessa, Michael Snoyman <michael@snoyman.com>
maintainer:         Michael Snoyman <michael@snoyman.com>
synopsis:           Backend for the persistent library using postgresql.
description:        Based on the postgresql-simple package
category:           Database, Yesod
stability:          Stable
cabal-version:      >=1.10
build-type:         Simple
homepage:           http://www.yesodweb.com/book/persistent
bug-reports:        https://github.com/yesodweb/persistent/issues
extra-source-files: ChangeLog.md

library
  build-depends:
      aeson               >=1.0
    , attoparsec
    , base                >=4.9     && <5
    , blaze-builder
    , bytestring          >=0.10
    , conduit             >=1.2.12
    , containers          >=0.5
    , monad-logger        >=0.3.25
    , mtl
    , persistent          >=2.13.3  && <3
    , postgresql-libpq    >=0.9.4.2 && <0.12
    , postgresql-simple   >=0.6.1   && <0.8
    , resource-pool
    , resourcet           >=1.1.9
    , string-conversions
    , text                >=1.2
    , time                >=1.6
    , transformers        >=0.5
    , unliftio-core
    , vault

  exposed-modules:
    Database.Persist.Postgresql
    Database.Persist.Postgresql.Internal
    Database.Persist.Postgresql.JSON

  ghc-options:      -Wall
  default-language: Haskell2010

source-repository head
  type:     git
  location: https://github.com/yesodweb/persistent.git

test-suite test
  type:             exitcode-stdio-1.0
  main-is:          main.hs
  hs-source-dirs:   test
  other-modules:
    ArrayAggTest
    CustomConstraintTest
    EquivalentTypeTestPostgres
    ImplicitUuidSpec
    JSONTest
    MigrationReferenceSpec
    PgInit
    PgIntervalTest
    UpsertWhere

  ghc-options:      -Wall
  build-depends:
      aeson
    , base                       >=4.9 && <5
    , bytestring
    , containers
    , fast-logger
    , hspec                      >=2.4
    , hspec-expectations
    , hspec-expectations-lifted
    , http-api-data
    , HUnit
    , monad-logger
    , path-pieces
    , persistent
    , persistent-postgresql
    , persistent-qq
    , persistent-test
    , QuickCheck
    , quickcheck-instances
    , resourcet
    , text
    , time
    , transformers
    , unliftio
    , unliftio-core
    , unordered-containers
    , vector

  default-language: Haskell2010

executable conn-kill
  buildable:        False
  main-is:          Main.hs
  hs-source-dirs:   conn-killed
  ghc-options:      -threaded
  build-depends:
      base
    , bytestring
    , monad-logger
    , mtl
    , persistent
    , persistent-postgresql
    , resource-pool
    , text
    , time
    , transformers
    , unliftio

  default-language: Haskell2010