forked from discord-haskell/discord-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiscord-haskell.cabal
192 lines (183 loc) · 6.57 KB
/
discord-haskell.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
cabal-version: 2.0
name: discord-haskell
version: 1.17.1
description: Functions and data types to write discord bots.
Official discord docs <https://discord.com/developers/docs/reference>.
.
See the project readme for quickstart notes
<https://github.com/discord-haskell/discord-haskell#discord-haskell->
synopsis: Write bots for Discord in Haskell
homepage: https://github.com/discord-haskell/discord-haskell
bug-reports: https://github.com/discord-haskell/discord-haskell/issues
license: MIT
license-file: LICENSE
author: Karl
maintainer: [email protected]
copyright: 2019 Karl
category: Network
build-type: Simple
tested-with: GHC == 8.10.7
, GHC == 9.2
, GHC == 9.4
, GHC == 9.6
, GHC == 9.8
extra-doc-files: README.md
, changelog.md
source-repository head
type: git
location: https://github.com/discord-haskell/discord-haskell.git
executable ping-pong
main-is: ping-pong.hs
default-language: Haskell2010
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards -threaded
hs-source-dirs: examples
other-modules:
ExampleUtils
build-depends: base
, text
, unliftio
, discord-haskell
executable interaction-commands
main-is: interaction-commands.hs
default-language: Haskell2010
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards -threaded
hs-source-dirs: examples
other-modules:
ExampleUtils
build-depends: base
, text
, unliftio
, discord-haskell
, bytestring
executable interaction-commands-simple
main-is: interaction-commands-simple.hs
default-language: Haskell2010
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards -threaded
hs-source-dirs: examples
other-modules:
ExampleUtils
build-depends: base
, text
, unliftio
, discord-haskell
executable cache
main-is: cache.hs
default-language: Haskell2010
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards -threaded
hs-source-dirs: examples
other-modules:
ExampleUtils
build-depends: base
, text
, unliftio
, discord-haskell
executable gateway
main-is: gateway.hs
default-language: Haskell2010
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards -threaded
hs-source-dirs: examples
other-modules:
ExampleUtils
build-depends: base
, text
, unliftio
, discord-haskell
executable rest-without-gateway
main-is: rest-without-gateway.hs
default-language: Haskell2010
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards -threaded
hs-source-dirs: examples
other-modules:
ExampleUtils
build-depends: base
, text
, unliftio
, discord-haskell
executable state-counter
main-is: state-counter.hs
default-language: Haskell2010
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards -threaded
hs-source-dirs: examples
other-modules:
ExampleUtils
build-depends: base
, text
, unliftio
, discord-haskell
library
ghc-options: -Wall -fno-warn-type-defaults -fno-warn-unused-record-wildcards
hs-source-dirs: src
default-language: Haskell2010
other-modules:
Paths_discord_haskell
autogen-modules:
Paths_discord_haskell
exposed-modules:
Discord
, Discord.Types
, Discord.Handle
, Discord.Interactions
, Discord.Requests
, Discord.Internal.Gateway
, Discord.Internal.Gateway.Cache
, Discord.Internal.Gateway.EventLoop
, Discord.Internal.Rest
, Discord.Internal.Rest.Prelude
, Discord.Internal.Rest.HTTP
, Discord.Internal.Rest.Invite
, Discord.Internal.Rest.Emoji
, Discord.Internal.Rest.User
, Discord.Internal.Rest.Guild
, Discord.Internal.Rest.Channel
, Discord.Internal.Rest.Voice
, Discord.Internal.Rest.Webhook
, Discord.Internal.Rest.ApplicationCommands
, Discord.Internal.Rest.ApplicationInfo
, Discord.Internal.Rest.Interactions
, Discord.Internal.Rest.ScheduledEvents
, Discord.Internal.Rest.AutoModeration
, Discord.Internal.Types
, Discord.Internal.Types.Prelude
, Discord.Internal.Types.Channel
, Discord.Internal.Types.Events
, Discord.Internal.Types.Gateway
, Discord.Internal.Types.Guild
, Discord.Internal.Types.User
, Discord.Internal.Types.Embed
, Discord.Internal.Types.ApplicationCommands
, Discord.Internal.Types.ApplicationInfo
, Discord.Internal.Types.Interactions
, Discord.Internal.Types.Components
, Discord.Internal.Types.Color
, Discord.Internal.Types.Emoji
, Discord.Internal.Types.RolePermissions
, Discord.Internal.Types.ScheduledEvents
, Discord.Internal.Types.AutoModeration
, Discord.Internal.Types.AuditLog
build-depends:
-- https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history
-- below also sets the GHC version effectively. set to == 8.10.*, == 9.0.*., == 9.2.*, == 9.4.*, == 9.6.*, == 9.8.*
base == 4.14.* || == 4.15.* || == 4.16.* || == 4.17.* || == 4.18.* || == 4.19.*,
aeson >= 2.0 && < 2.3,
async >=2.2 && <2.3,
bytestring >=0.10 && <0.13,
base64-bytestring >=1.1 && <1.3,
containers >=0.6 && <0.7,
data-default >=0.7 && <0.8,
emojis >=0.1.3 && <0.2,
hashable >= 1.4.0.0 && <1.5,
http-client >=0.6 && <0.8,
iso8601-time >=0.1 && <0.2,
MonadRandom >=0.5 && <0.7,
req >=3.9 && <3.14,
safe-exceptions >=0.1 && <0.2,
text >=1.2 && <3,
time >=1.9 && <1.13,
websockets >=0.12 && <0.14,
network >=3.0.0.0 && <3.2.0.0,
wuss >=1.1 && <3,
mtl >=2.2 && <2.4,
unliftio >=0.2 && <0.3,
scientific >=0.3 && <0.4,
http-api-data >=0.4 && <0.7,
unordered-containers >=0.2.10.0 && <0.3