forked from prowdsponsor/ig
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathig.cabal
99 lines (93 loc) · 2.91 KB
/
ig.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
name: ig
version: 0.8
synopsis: Bindings to Instagram's API.
homepage: https://github.com/prowdsponsor/ig
license: BSD3
license-file: LICENSE
author: Felipe Lessa <felipe.lessa@prowdsponsor.com>, JP Moresmau <jpmoresmau@gmail.com>
maintainer: Prowdsponsor <opensource@prowdsponsor.com>
copyright: (c) 2013-2014 Prowdsponsor
category: Web
build-type: Simple
cabal-version: >=1.8
description:
This package exports bindings to Instagram's APIs (see
<http://instagram.com/developer/>).
.
While we would like to have a complete binding to Instagram'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/ig/issues>).
.
A sample Yesod application demonstrating the API can be found at <https://github.com/prowdsponsor/ig-testapp>.
source-repository head
type: git
location: git://github.com/prowdsponsor/ig.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:
Instagram
-- other-modules:
build-depends:
base >= 4 && < 5
, bytestring >= 0.9 && < 0.11
, text >= 0.11
, transformers >= 0.2 && < 0.5
, transformers-base
, monad-control
, resourcet
, http-types
, http-conduit >= 2.0 && < 2.2
, aeson >= 0.5
, time
, data-default
, lifted-base
, unordered-containers
, crypto-api >= 0.11 && < 0.14
, cryptohash >= 0.7
, cryptohash-cryptoapi == 0.1.*
, base16-bytestring >= 0.1
if flag(conduit11)
build-depends:
conduit >= 1.1.0.0 && < 1.3
, conduit-extra == 1.1.*
else
build-depends:
conduit == 1.0.*
, attoparsec-conduit == 1.0.*
extensions:
OverloadedStrings
DeriveDataTypeable
-- -- Copied from fb-0.14.6, may be useful =).
-- EmptyDataDecls
-- GADTs
-- StandaloneDeriving
-- ScopedTypeVariables
-- GeneralizedNewtypeDeriving
-- TypeFamilies
-- FlexibleInstances
-- MultiParamTypeClasses
other-modules:
Instagram.Types,
Instagram.Monad,
Instagram.Auth,
Instagram.Users,
Instagram.RealTime,
Instagram.Tags,
Instagram.Relationships,
Instagram.Media,
Instagram.Comments,
Instagram.Likes,
Instagram.Locations,
Instagram.Geographies
if flag(debug)
cpp-options: -DDEBUG
if flag(conduit11)
cpp-options: -DCONDUIT11