summaryrefslogtreecommitdiff
path: root/sqlite-simple.cabal
blob: 92c1817547515b63f31b0423808ff779a5b8645f (plain)
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
Name:                sqlite-simple
Version:             0.4.15.0
Synopsis:            Mid-Level SQLite client library
Description:
    Mid-level SQLite client library, based on postgresql-simple.
    .
    Main documentation (with examples): <sqlite-simple/docs/Database-SQLite-Simple.html Database.SQLite.Simple>
    .
    You can view the project page at <http://github.com/nurpax/sqlite-simple>
    for more information.

License:             BSD3
License-file:        LICENSE
Author:              Bryan O'Sullivan, Leon P Smith, Janne Hellsten
Maintainer:          Janne Hellsten <jjhellst@gmail.com>
Copyright:           (c) 2011 MailRank, Inc.,
                     (c) 2011-2012 Leon P Smith,
                     (c) 2012-2014 Janne Hellsten
Homepage:            http://github.com/nurpax/sqlite-simple
bug-reports:         http://github.com/nurpax/sqlite-simple/issues
Stability:           stable
Category:            Database
Build-type:          Simple

Cabal-version:       >= 1.10

extra-source-files:  README.markdown
                     changelog

Library
  Default-language:  Haskell2010
  Exposed-modules:
     Database.SQLite.Simple
     Database.SQLite.Simple.Ok
     Database.SQLite.Simple.FromField
     Database.SQLite.Simple.FromRow
     Database.SQLite.Simple.Internal
     Database.SQLite.Simple.ToField
     Database.SQLite.Simple.ToRow
     Database.SQLite.Simple.Types
     Database.SQLite.Simple.Time
     Database.SQLite.Simple.Time.Implementation

  Build-depends:
    attoparsec >= 0.10.3,
    base < 5,
    blaze-builder,
    blaze-textual,
    bytestring >= 0.9,
    containers,
    direct-sqlite >= 2.3.13 && < 2.4,
    semigroups == 0.18.*,
    text >= 0.11,
    time,
    transformers,
    Only >= 0.1 && < 0.1.1

  default-extensions:
      DoAndIfThenElse
    , OverloadedStrings
    , BangPatterns
    , ViewPatterns
    , TypeOperators

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

source-repository head
  type:     git
  location: http://github.com/nurpax/sqlite-simple


test-suite test
  default-language: Haskell2010
  type:             exitcode-stdio-1.0

  hs-source-dirs: test
  main-is:        Main.hs
  other-modules:  Common
                , Debug
                , DirectSqlite
                , Errors
                , Fold
                , ParamConv
                , Simple
                , Statement
                , TestImports
                , UserInstances
                , Utf8Strings

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

  default-extensions:
      NamedFieldPuns
    , OverloadedStrings
    , Rank2Types
    , RecordWildCards

  build-depends: base
               , base16-bytestring
               , bytestring >= 0.9
               , HUnit
               , sqlite-simple
               , direct-sqlite
               , text
               , time