-
Notifications
You must be signed in to change notification settings - Fork 14
/
mattermost-api.cabal
205 lines (194 loc) · 6.68 KB
/
mattermost-api.cabal
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
name: mattermost-api
version: 90000.0.0
synopsis: Client API for Mattermost chat system
description: Client API for Mattermost chat system. Mattermost is a
flexible, open source messaging platform that
meets even the most demanding privacy and
security standards. This library provides
network API interaction with the Mattermost
server.
license: BSD3
license-file: LICENSE
maintainer: [email protected]
copyright: 2016-2020 Jason Dagit, Getty Ritter, Jonathan Daugherty
category: Web
build-type: Simple
extra-doc-files: README.md,
CHANGELOG.md
cabal-version: 1.18
tested-with: GHC == 7.10.3, GHC == 8.0.1
source-repository head
type: git
location: https://github.com/matterhorn-chat/mattermost-api.git
flag build-examples
description: Build example applications
default: False
library
exposed-modules: Network.Mattermost
Network.Mattermost.Exceptions
Network.Mattermost.Lenses
Network.Mattermost.Logging
Network.Mattermost.Util
Network.Mattermost.Proxy
Network.Mattermost.WebSocket
Network.Mattermost.WebSocket.Types
Network.Mattermost.Version
Network.Mattermost.Types
Network.Mattermost.Types.Base
Network.Mattermost.Types.Config
Network.Mattermost.Types.Internal
Network.Mattermost.Endpoints
other-modules: Network.Mattermost.TH
Network.Mattermost.Connection
Paths_mattermost_api
-- other-extensions:
build-depends: base >=4.4 && <5
, websockets >= 0.11.0.0
, stm
, aeson >= 2.0.1.0 && < 2.2.0.0
, crypton-connection
, memory
, resource-pool >= 0.2.3
-- To prevent broken websockets versions from using
-- incompatible versions of binary (for details, see
-- https://github.com/matterhorn-chat/mattermost-api/issues/36):
, binary >= 0.8.1
, bytestring
, process
-- We depend on this lower bound to get a fix for
-- https://github.com/haskell/HTTP/issues/128
, HTTP >= 4000.3.15
, http-media
, network-uri
, modern-uri
, text
, time
, unordered-containers
, hashable
, containers
, gitrev
, template-haskell
, microlens
, microlens-th
-- Only here to make debugging easier
, pretty-show
, split
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Wcompat
executable mm-get-teams
if !flag(build-examples)
buildable: False
default-language: Haskell2010
main-is: GetTeams.hs
other-modules: Config
LocalConfig
hs-source-dirs: examples
build-depends: base
, mattermost-api
, aeson
, text
, connection
, process
, unordered-containers
, pretty-show
executable mm-get-channels
if !flag(build-examples)
buildable: False
default-language: Haskell2010
main-is: GetChannels.hs
other-modules: Config
LocalConfig
hs-source-dirs: examples
build-depends: base
, mattermost-api
, aeson
, text
, connection
, process
, unordered-containers
, pretty-show
executable mm-get-posts
if !flag(build-examples)
buildable: False
default-language: Haskell2010
main-is: GetPosts.hs
other-modules: Config
LocalConfig
hs-source-dirs: examples
build-depends: base
, mattermost-api
, aeson
, text
, connection
, process
, unordered-containers
, pretty-show
executable mm-make-post
if !flag(build-examples)
buildable: False
default-language: Haskell2010
main-is: MakePost.hs
other-modules: Config
LocalConfig
hs-source-dirs: examples
build-depends: base
, mattermost-api
, aeson
, text
, connection
, process
, unordered-containers
, pretty-show
executable mm-get-websocket-connection
if !flag(build-examples)
buildable: False
default-language: Haskell2010
main-is: GetWebsocketConnection.hs
other-modules: Config
LocalConfig
hs-source-dirs: examples
build-depends: base
, mattermost-api
, aeson
, text
, connection
, process
, unordered-containers
, pretty-show
executable mm-show-raw-events
if !flag(build-examples)
buildable: False
default-language: Haskell2010
main-is: ShowRawEvents.hs
other-modules: Config
LocalConfig
hs-source-dirs: examples
build-depends: base
, mattermost-api
, aeson
, text
, connection
, process
, unordered-containers
, pretty-show
test-suite test-mm-api
type: exitcode-stdio-1.0
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test
main-is: Main.hs
other-modules: Tests.Util
Tests.Types
build-depends: base
, mtl
, stm
, mattermost-api
, tasty
, tasty-hunit
, HUnit
, text
, pretty-show
, unordered-containers
, containers
, aeson