forked from intolerable/reddit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
148 lines (138 loc) · 3.13 KB
/
package.yaml
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: reddit
version: '0.2.3.0'
synopsis: Library for interfacing with Reddit's API
description: >
A library for interfacing with Reddit''s API in Haskell. Handles
logins, rate-limiting and converting to and from JSON responses.
Supports most user-facing Reddit API functions, as well as some
moderator endpoints.
Check out the readme at <https://github.com/intolerable/reddit>.
Contributions are welcome.
category: Network
author: Fraser Murray
maintainer: [email protected]
copyright: Copyright (c) Fraser Murray, 2013-2018
license: BSD2
github: intolerable/reddit
extra-source-files:
- README.md
- test/data/aboutMe_example.json
- test/data/getUserInfo_example.json
- test/data/getUserComments_example.json
ghc-options:
- -Wall -Wcompat
default-extensions:
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- LambdaCase
- OverloadedStrings
- OverloadedStrings
library:
source-dirs: src
ghc-options:
- -fno-warn-dodgy-imports
exposed-modules:
- Reddit
- Reddit.Actions
- Reddit.Actions.Captcha
- Reddit.Actions.Comment
- Reddit.Actions.Flair
- Reddit.Actions.Message
- Reddit.Actions.Moderation
- Reddit.Actions.Post
- Reddit.Actions.Search
- Reddit.Actions.Subreddit
- Reddit.Actions.Thing
- Reddit.Actions.User
- Reddit.Actions.Voting
- Reddit.Actions.Wiki
- Reddit.Login
- Reddit.Types
- Reddit.Types.Captcha
- Reddit.Types.Comment
- Reddit.Types.Error
- Reddit.Types.Flair
- Reddit.Types.Listing
- Reddit.Types.Message
- Reddit.Types.Moderation
- Reddit.Types.Options
- Reddit.Types.Post
- Reddit.Types.Reddit
- Reddit.Types.SearchOptions
- Reddit.Types.Subreddit
- Reddit.Types.SubredditSettings
- Reddit.Types.Thing
- Reddit.Types.User
- Reddit.Types.Wiki
dependencies:
- base >=4.6
- aeson >=0.9
- api-builder >=0.10
- bytestring ==0.10.*
- data-default-class >=0.0.1
- free >=4
- http-client >=0.4.30
- http-client-tls >=0.2
- http-types >=0.8
- network >=2.6
- text ==1.*
- time >=1.5
- transformers >=0.4
- unordered-containers >=0.2.5
- vector >=0.10
tests:
test-anon:
main: Spec.hs
source-dirs:
- test-anon
- test-utils
default-extensions:
- Rank2Types
dependencies:
- base ==4.*
- Cabal >=1.16.0
- api-builder
- data-default-class
- reddit
- hspec
- text
- time
- transformers
test-io:
main: Spec.hs
source-dirs:
- test-io
- test-utils
default-extensions:
- Rank2Types
- RecordWildCards
dependencies:
- base ==4.*
- Cabal >=1.16.0
- api-builder
- bytestring
- data-default-class
- directory
- http-client
- http-client-tls
- reddit
- hspec
- text
- time
- transformers
- yaml
test:
main: Spec.hs
source-dirs: test
dependencies:
- base ==4.*
- Cabal >=1.16.0
- aeson
- api-builder
- bytestring
- reddit
- hspec
- text
- time
- transformers