summaryrefslogtreecommitdiff
path: root/amazonka-core.cabal
blob: 03ce729acc31b4f5e173182c2eec0fc4d056f84b (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
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
name:                  amazonka-core
version:               1.4.5
synopsis:              Core data types and functionality for Amazonka libraries.
homepage:              https://github.com/brendanhay/amazonka
bug-reports:           https://github.com/brendanhay/amazonka/issues
license:               OtherLicense
license-file:          LICENSE
author:                Brendan Hay
maintainer:            Brendan Hay <brendan.g.hay@gmail.com>
copyright:             Copyright (c) 2013-2016 Brendan Hay
category:              Network, AWS, Cloud, Distributed Computing
build-type:            Simple
extra-source-files:    README.md
cabal-version:         >= 1.10

description:
    Core data types, functionality and serialisation primitives for
    Amazonka related Amazon Web Services SDKs.
    .
    The external interface of this library is stable with respect to the
    downstream Amazonka libraries, only, and as such is not suitable
    for use in non-Amazonka projects.

source-repository head
    type:              git
    location:          git://github.com/brendanhay/amazonka.git

flag old-locale
    description:       Use old-locale and time < 1.5
    default:           False

library
    default-language:  Haskell2010
    hs-source-dirs:    src

    ghc-options:       -Wall

    exposed-modules:
          Network.AWS.Compat.Locale
        , Network.AWS.Compat.Time
        , Network.AWS.Data.Base64
        , Network.AWS.Data.Body
        , Network.AWS.Data.ByteString
        , Network.AWS.Data.Crypto
        , Network.AWS.Data.Headers
        , Network.AWS.Data.JSON
        , Network.AWS.Data.List1
        , Network.AWS.Data.Log
        , Network.AWS.Data.Map
        , Network.AWS.Data.Numeric
        , Network.AWS.Data.Path
        , Network.AWS.Data.Query
        , Network.AWS.Data.Sensitive
        , Network.AWS.Data.Text
        , Network.AWS.Data.Time
        , Network.AWS.Data.XML
        , Network.AWS.Endpoint
        , Network.AWS.Error
        , Network.AWS.Lens
        , Network.AWS.Pager
        , Network.AWS.Prelude
        , Network.AWS.Request
        , Network.AWS.Response
        , Network.AWS.Sign.V2
        , Network.AWS.Sign.V4
        , Network.AWS.Types
        , Network.AWS.Waiter

    other-modules:
          Network.AWS.Sign.V4.Base
        , Network.AWS.Sign.V4.Chunked

    build-depends:
          aeson                >= 0.8
        , attoparsec           >= 0.11.3
        , base                 >= 4.7 && < 5
        , bifunctors           >= 4.1
        , bytestring           >= 0.9
        , case-insensitive     >= 1.2
        , conduit              >= 1.1
        , conduit-extra        >= 1.1
        , cryptonite           >= 0.4
        , deepseq              >= 1.4
        , exceptions           >= 0.6
        , hashable             >= 1.2
        , http-conduit         >= 2.2 && < 3
        , http-types           >= 0.8
        , lens                 >= 4.4
        , memory               >= 0.6
        , mtl                  >= 2.1.3.1
        , resourcet            >= 1.1
        , scientific           >= 0.3
        , semigroups           >= 0.12
        , tagged               >= 0.7
        , text                 >= 1.1
        , transformers         >= 0.2
        , transformers-compat  >= 0.3
        , unordered-containers >= 0.2.7
        , xml-conduit          >= 1.2
        , xml-types            >= 0.3.4

    if !impl(ghc>=7.9)
        build-depends:
              nats >= 0.1.3

    if flag(old-locale)
        build-depends:
              old-locale == 1.*
            , time       >= 1.2 && < 1.5
    else
        build-depends:
              time       >= 1.5

test-suite tests
    type:              exitcode-stdio-1.0
    default-language:  Haskell2010
    hs-source-dirs:    test
    main-is:           Main.hs

    ghc-options:       -Wall -threaded

    other-modules:
          Test.AWS.Arbitrary
        , Test.AWS.Data.Base64
        , Test.AWS.Data.List
        , Test.AWS.Data.Maybe
        , Test.AWS.Data.Numeric
        , Test.AWS.Data.Path
        , Test.AWS.Data.Time
        , Test.AWS.Error
        , Test.AWS.Sign.V4
        , Test.AWS.Util

    build-depends:
          aeson
        , amazonka-core
        , base
        , bytestring
        , case-insensitive
        , http-types
        , tasty
        , tasty-hunit
        , tasty-quickcheck
        , template-haskell
        , text
        , time
        , QuickCheck
        , quickcheck-unicode