File: persistent-postgresql.cabal

package info (click to toggle)
haskell-persistent-postgresql 2.13.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 272 kB
  • sloc: haskell: 3,281; makefile: 2
file content (108 lines) | stat: -rw-r--r-- 3,686 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
name:            persistent-postgresql
version:         2.13.6.2
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:   base                  >= 4.9      && < 5
                   , persistent            >= 2.13.3   && < 3
                   , aeson                 >= 1.0
                   , attoparsec
                   , blaze-builder
                   , bytestring            >= 0.10
                   , conduit               >= 1.2.12
                   , containers            >= 0.5
                   , monad-logger          >= 0.3.25
                   , mtl
                   , postgresql-simple     >= 0.6.1    && < 0.8
                   , postgresql-libpq      >= 0.9.4.2  && < 0.11
                   , resourcet             >= 1.1.9
                   , resource-pool
                   , 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: git://github.com/yesodweb/persistent.git

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

    build-depends:   base                 >= 4.9 && < 5
                   , persistent
                   , persistent-postgresql
                   , persistent-qq
                   , persistent-test
                   , aeson
                   , bytestring
                   , containers
                   , fast-logger
                   , HUnit
                   , hspec                >= 2.4
                   , hspec-expectations
                   , hspec-expectations-lifted
                   , monad-logger
                   , QuickCheck
                   , quickcheck-instances
                   , resourcet
                   , text
                   , time
                   , transformers
                   , path-pieces
                   , http-api-data
                   , unliftio-core
                   , unliftio
                   , 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
      , persistent-postgresql
      , monad-logger
      , text
      , unliftio
      , time
      , transformers
      , persistent
      , bytestring
      , resource-pool
      , mtl
    default-language: Haskell2010