-
Notifications
You must be signed in to change notification settings - Fork 21
/
fb.cabal
135 lines (124 loc) · 3.62 KB
/
fb.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
name: fb
version: 1.0.13
license: BSD3
license-file: LICENSE
author: Felipe Lessa
maintainer: Felipe Lessa <[email protected]>
copyright: (c) Prowdsponsor
synopsis: Bindings to Facebook's API.
category: Web
stability: Experimental
cabal-version: >= 1.8
build-type: Simple
homepage: https://github.com/prowdsponsor/fb
description:
This package exports bindings to Facebook's APIs (see
<http://developers.facebook.com/>). Does not have any external
dependencies and tries to use as little resources (such as
memory, sockets and CPU) as possible by using packages such as
@aeson@, @attoparsec@, @bytestring@, @conduit@, @http-conduit@,
@text@ and others.
.
While we would like to have a complete binding to Facebook's
API, this package is being developed on demand. If you need
something that has not been implemented yet, please send a pull
request or file an issue on GitHub
(<https://github.com/prowdsponsor/fb/issues>).
extra-source-files:
tests/Main.hs
tests/tryIt.hs
example.hs
source-repository head
type: git
location: git://github.com/prowdsponsor/fb.git
flag debug
default: False
description: Print debugging info.
flag conduit11
description: Use conduit >= 1.1.
library
hs-source-dirs: src
ghc-options: -Wall
exposed-modules:
Facebook
other-modules:
Facebook.Types
Facebook.Monad
Facebook.Base
Facebook.Auth
Facebook.Pager
Facebook.Graph
Facebook.Object.Action
Facebook.Object.FriendList
Facebook.Object.Checkin
Facebook.Object.User
Facebook.Object.Page
Facebook.Object.Order
Facebook.RealTime
Facebook.FQL
Facebook.TestUsers
build-depends:
base >= 4 && < 5
, lifted-base >= 0.1 && < 0.3
, bytestring >= 0.9 && < 0.11
, text >= 0.11 && < 1.3
, transformers >= 0.2 && < 0.6
, transformers-base
, monad-control
, resourcet
, data-default
, http-types
, http-conduit >= 2.0 && < 2.2
, attoparsec >= 0.10.4 && < 0.14
, unordered-containers
, aeson >= 0.5
, base16-bytestring >= 0.1
, base64-bytestring >= 0.1.1
, time >= 1.2 && < 1.7
, old-locale
, cereal >= 0.3 && < 0.6
, crypto-api >= 0.11 && < 0.14
, cryptohash >= 0.7
, cryptohash-cryptoapi == 0.1.*
, monad-logger >= 0.3
if flag(conduit11)
build-depends:
conduit >= 1.1 && < 1.3
, conduit-extra == 1.1.*
else
build-depends:
conduit == 1.0.*
, attoparsec-conduit == 1.0.*
extensions:
DeriveDataTypeable
EmptyDataDecls
OverloadedStrings
GADTs
StandaloneDeriving
ScopedTypeVariables
GeneralizedNewtypeDeriving
TypeFamilies
FlexibleInstances
MultiParamTypeClasses
if flag(debug)
cpp-options: -DDEBUG
test-suite runtests
type: exitcode-stdio-1.0
ghc-options: -Wall -fno-warn-orphans
hs-source-dirs: tests
main-is: Main.hs
build-depends:
-- Library dependencies used on the tests. No need to
-- specify versions since they'll use the same as above.
base, lifted-base, transformers, bytestring, resourcet,
conduit, http-conduit, text, time, aeson, monad-control
-- Test-only dependencies
, containers
, data-default
, HUnit
, QuickCheck
, hspec >= 1.9 && < 1.12
, fb
extensions:
TypeFamilies
ScopedTypeVariables