-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathtwitter-conduit.cabal
139 lines (128 loc) · 3.78 KB
/
twitter-conduit.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
cabal-version: 1.24
name: twitter-conduit
version: 0.6.1
license: BSD3
license-file: LICENSE
maintainer: Takahiro HIMURA <[email protected]>
author: HATTORI Hiroki, Hideyuki Tanaka, Takahiro HIMURA
stability: Experimental
tested-with: ghc ==8.8.4 ghc ==8.10.7 ghc ==9.0.1
homepage: https://github.com/himura/twitter-conduit
synopsis:
Twitter API package with conduit interface and Streaming API support.
description:
This package provides bindings to Twitter's APIs (see <https://dev.twitter.com/>).
.
This package uses the http-conduit package for accessing the Twitter API (see <http://hackage.haskell.org/package/http-conduit>).
This package also depends on the twitter-types package (see <http://hackage.haskell.org/package/twitter-types>).
.
You can find basic examples in the <https://github.com/himura/twitter-conduit/tree/master/sample> directory.
.
This package is under development. If you find something that has not been implemented yet, please send a pull request or open an issue on GitHub.
category: Web, Conduit
build-type: Custom
extra-source-files:
.gitignore
README.md
ChangeLog.md
Warning.hs
sample/LICENSE
sample/twitter-conduit-sample.cabal
sample/*.hs
sample/common/*.hs
tests/*.hs
source-repository head
type: git
location: git://github.com/himura/twitter-conduit.git
custom-setup
setup-depends:
base,
Cabal >=1.24,
cabal-doctest >=1 && <1.1
flag run-integrated-test
description: use debug output when running testsuites
default: False
library
exposed-modules:
Web.Twitter.Conduit
Web.Twitter.Conduit.Lens
Web.Twitter.Conduit.Types
Web.Twitter.Conduit.Api
Web.Twitter.Conduit.Stream
Web.Twitter.Conduit.Status
Web.Twitter.Conduit.Base
Web.Twitter.Conduit.Request
Web.Twitter.Conduit.Request.Internal
Web.Twitter.Conduit.Response
Web.Twitter.Conduit.Cursor
Web.Twitter.Conduit.Parameters
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.12 && <5,
aeson >=0.7.0.5,
attoparsec >=0.10,
authenticate-oauth >=1.3,
bytestring >=0.10.2,
conduit >=1.3,
conduit-extra >=1.3,
containers,
data-default >=0.3,
deepseq,
exceptions >=0.5,
ghc-prim,
http-client >=0.5.0,
http-conduit >=2.3 && <2.4,
http-types,
lens >=4.4,
lens-aeson >=1,
resourcet >=1.0,
text >=0.11,
time,
transformers >=0.2.2,
twitter-types >=0.9,
twitter-types-lens >=0.9
test-suite doctests
type: exitcode-stdio-1.0
main-is: doctests.hs
hs-source-dirs: tests
default-language: Haskell2010
build-depends:
base,
doctest
test-suite spec_main
type: exitcode-stdio-1.0
main-is: spec_main.hs
build-tool-depends: hspec-discover:hspec-discover >=2.3.0
hs-source-dirs: tests
other-modules:
Spec
ApiSpec
BaseSpec
TestUtils
default-language: Haskell2010
build-depends:
base,
aeson,
attoparsec,
authenticate-oauth,
bytestring,
conduit,
conduit-extra,
containers,
data-default,
hspec,
http-client,
http-conduit,
http-types,
lens,
lens-aeson,
resourcet,
text,
time,
twitter-conduit,
twitter-types,
twitter-types-lens
if flag(run-integrated-test)
cpp-options: -DRUN_INTEGRATED_TEST