File: postgresql-simple.cabal

package info (click to toggle)
haskell-postgresql-simple 0.5.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 452 kB
  • sloc: haskell: 5,090; makefile: 2
file content (130 lines) | stat: -rw-r--r-- 3,556 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
Name:                postgresql-simple
Version:             0.5.2.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:          Leon P Smith <leon@melding-monads.com>
Copyright:           (c) 2011 MailRank, Inc.
                     (c) 2011-2015 Leon P Smith
Category:            Database
Build-type:          Simple

Cabal-version:       >= 1.9.2

extra-source-files:
     CONTRIBUTORS
     CHANGELOG.md

Library
  hs-source-dirs: src
  Exposed-modules:
     Database.PostgreSQL.Simple
     Database.PostgreSQL.Simple.Arrays
     Database.PostgreSQL.Simple.Copy
     Database.PostgreSQL.Simple.FromField
     Database.PostgreSQL.Simple.FromRow
     Database.PostgreSQL.Simple.LargeObjects
     Database.PostgreSQL.Simple.HStore
     Database.PostgreSQL.Simple.HStore.Internal
     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.Errors
-- Other-modules:
     Database.PostgreSQL.Simple.Internal

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

  Build-depends:
    aeson >= 0.6,
    attoparsec >= 0.10.3,
    base >= 4.6 && < 5,
    bytestring >= 0.9,
    case-insensitive,
    containers,
    hashable,
    postgresql-libpq >= 0.9 && < 0.10,
    template-haskell,
    text >= 0.11.1,
    time,
    transformers,
    uuid-types >= 1.0.0,
    scientific,
    vector

  if !impl(ghc >= 7.6)
    Build-depends:
      ghc-prim

  extensions: DoAndIfThenElse, OverloadedStrings, BangPatterns, ViewPatterns
              TypeOperators

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

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

source-repository this
  type:     git
  location: http://github.com/lpsmith/postgresql-simple
  tag:      v0.5.2.1

test-suite test
  type:           exitcode-stdio-1.0

  hs-source-dirs: test
  main-is:        Main.hs
  other-modules:
    Common
    Notify
    Serializable
    Time

  ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind

  extensions: NamedFieldPuns
            , OverloadedStrings
            , Rank2Types
            , RecordWildCards
            , PatternGuards
            , ScopedTypeVariables

  build-depends: base
               , aeson
               , base16-bytestring
               , bytestring
               , containers
               , cryptohash
               , filepath
               , tasty
               , tasty-hunit
               , tasty-golden
               , HUnit
               , postgresql-simple
               , text
               , time
               , vector

  if !impl(ghc >= 7.6)
    build-depends:
      ghc-prim