File: postgresql-simple.cabal

package info (click to toggle)
haskell-postgresql-simple 0.7.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 560 kB
  • sloc: haskell: 6,442; makefile: 2
file content (175 lines) | stat: -rw-r--r-- 4,753 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
cabal-version:      1.12
name:               postgresql-simple
version:            0.7.0.1
synopsis:           Mid-Level PostgreSQL client library
description:
  Mid-Level PostgreSQL client library, forked from mysql-simple.

license:            BSD3
license-file:       LICENSE
author:             Bryan O'Sullivan, Leon P Smith
maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
copyright:
  (c) 2011 MailRank, Inc.
  (c) 2011-2018 Leon P Smith
  (c) 2018-2020 Oleg Grenrus

category:           Database
build-type:         Simple
extra-source-files:
  CHANGES.md
  CONTRIBUTORS
  test/results/malformed-input.expected
  test/results/unique-constraint-violation.expected

tested-with:
  GHC ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.7
   || ==9.8.4
   || ==9.10.2
   || ==9.12.2

library
  default-language:   Haskell2010
  hs-source-dirs:     src
  exposed-modules:
    Database.PostgreSQL.Simple
    Database.PostgreSQL.Simple.Arrays
    Database.PostgreSQL.Simple.Copy
    Database.PostgreSQL.Simple.Cursor
    Database.PostgreSQL.Simple.Errors
    Database.PostgreSQL.Simple.FromField
    Database.PostgreSQL.Simple.FromRow
    Database.PostgreSQL.Simple.HStore
    Database.PostgreSQL.Simple.HStore.Internal
    Database.PostgreSQL.Simple.Internal
    Database.PostgreSQL.Simple.LargeObjects
    Database.PostgreSQL.Simple.Newtypes
    Database.PostgreSQL.Simple.Notification
    Database.PostgreSQL.Simple.Ok
    Database.PostgreSQL.Simple.Range
    Database.PostgreSQL.Simple.SqlQQ
    Database.PostgreSQL.Simple.Time
    Database.PostgreSQL.Simple.Time.Internal
    Database.PostgreSQL.Simple.ToField
    Database.PostgreSQL.Simple.ToRow
    Database.PostgreSQL.Simple.Transaction
    Database.PostgreSQL.Simple.TypeInfo
    Database.PostgreSQL.Simple.TypeInfo.Macro
    Database.PostgreSQL.Simple.TypeInfo.Static
    Database.PostgreSQL.Simple.Types
    Database.PostgreSQL.Simple.Vector
    Database.PostgreSQL.Simple.Vector.Unboxed

  -- Other-modules:
  other-modules:
    Database.PostgreSQL.Simple.Compat
    Database.PostgreSQL.Simple.HStore.Implementation
    Database.PostgreSQL.Simple.Internal.PQResultUtils
    Database.PostgreSQL.Simple.Time.Implementation
    Database.PostgreSQL.Simple.Time.Internal.Parser
    Database.PostgreSQL.Simple.Time.Internal.Printer
    Database.PostgreSQL.Simple.TypeInfo.Types

  -- GHC bundled libs
  build-depends:
      base              >=4.12.0.0 && <4.22
    , bytestring        >=0.10.8.2 && <0.13
    , containers        >=0.6.0.1  && <0.8
    , template-haskell  >=2.14.0.0 && <2.24
    , text              >=1.2.3.0  && <1.3  || >=2.0 && <2.2
    , time-compat       >=1.9.5    && <1.12
    , transformers      >=0.5.6.2  && <0.7

  -- Other dependencies
  build-depends:
      aeson             >=2.1.2.1  && <2.3
    , attoparsec        >=0.14.4   && <0.15
    , case-insensitive  >=1.2.1.0  && <1.3
    , hashable          >=1.4.3.0  && <1.6
    , Only              >=0.1      && <0.1.1
    , postgresql-libpq  >=0.10.0.0 && <0.12
    , scientific        >=0.3.7.0  && <0.4
    , uuid-types        >=1.0.5    && <1.1
    , vector            >=0.13.0.0 && <0.14

  default-extensions:
    BangPatterns
    DoAndIfThenElse
    OverloadedStrings
    TypeOperators
    ViewPatterns

  ghc-options:        -Wall -fno-warn-name-shadowing

source-repository head
  type:     git
  location: http://github.com/haskellari/postgresql-simple

test-suite inspection
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Inspection.hs
  build-depends:
      base
    , inspection-testing  >=0.4.1.1 && <0.7
    , postgresql-libpq
    , postgresql-simple
    , tasty
    , tasty-hunit

test-suite test
  default-language:   Haskell2010
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Main.hs
  other-modules:
    Common
    Exception
    Interval
    Notify
    Serializable
    Time

  ghc-options:        -threaded
  ghc-options:        -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
  default-extensions:
    NamedFieldPuns
    OverloadedStrings
    PatternGuards
    Rank2Types
    RecordWildCards
    ScopedTypeVariables

  build-depends:
      aeson
    , base
    , base16-bytestring
    , bytestring
    , case-insensitive
    , containers
    , cryptohash-md5     >=0.11.100.1 && <0.12
    , filepath
    , postgresql-simple
    , tasty
    , tasty-golden
    , tasty-hunit
    , text
    , time-compat
    , vector

benchmark select
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   bench
  main-is:          Select.hs
  build-depends:
      base
    , postgresql-simple
    , vector