-
Notifications
You must be signed in to change notification settings - Fork 0
/
apis.cabal
142 lines (134 loc) · 6.03 KB
/
apis.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
name: apis
version: 0.0.1
synopsis: A Template Haskell library for generating type safe API calls
description: A library that uses Open Data Tables and JSON Schemas to
generate Haskell types and API calls.
homepage: https://github.com/fabianbergmark/APIs
category: Web
author: Fabian Bergmark
maintainer: [email protected]
license: BSD2
license-file: LICENSE
cabal-version: >= 1.10
build-type: Simple
extra-source-files: apis/krisinformation/krisinformation.feed.json
apis/krisinformation/krisinformation.feed.xml
apis/smhi/smhi.pmp.json
apis/smhi/smhi.pmp.xml
apis/dropbox/dropbox.files.json
apis/dropbox/dropbox.files.xml
apis/dropbox/dropbox.files.put.json
apis/dropbox/dropbox.files.put.xml
apis/dropbox/dropbox.metadata.json
apis/dropbox/dropbox.metadata.xml
apis/facebook/facebook.graph.user.feed.json
apis/facebook/facebook.graph.user.feed.xml
apis/facebook/facebook.graph.user.feed.post.json
apis/facebook/facebook.graph.user.feed.post.xml
apis/facebook/facebook.graph.user.friendlists.json
apis/facebook/facebook.graph.user.friendlists.xml
apis/facebook/facebook.graph.user.friends.json
apis/facebook/facebook.graph.user.friends.xml
apis/facebook/facebook.graph.user.inbox.json
apis/facebook/facebook.graph.user.inbox.xml
apis/facebook/facebook.graph.user.links.json
apis/facebook/facebook.graph.user.links.xml
apis/facebook/facebook.graph.user.photos.json
apis/facebook/facebook.graph.user.photos.xml
apis/facebook/facebook.graph.user.photosuploaded.json
apis/facebook/facebook.graph.user.photosuploaded.xml
apis/facebook/facebook.graph.user.pokes.json
apis/facebook/facebook.graph.user.pokes.xml
apis/facebook/facebook.graph.user.posts.json
apis/facebook/facebook.graph.user.posts.xml
apis/facebook/facebook.graph.user.statuses.json
apis/facebook/facebook.graph.user.statuses.xml
apis/facebook/facebook.graph.user.tagged.json
apis/facebook/facebook.graph.user.tagged.xml
LICENSE
Flag NoTH
Description: Don't use Template Haskell
Default: False
source-repository head
type: git
location: https://github.com/fabianbergmark/APIs.git
library
default-language: Haskell2010
hs-source-dirs: src/
if flag(NoTH)
exposed-modules: Control.Monad.Trans.API
Data.JSON.Void
Data.JSON.SchemaNoTH
Data.Settings.YQLNoTH
Data.State.YQL
TH.APIsNoTH
TH.YQLsNoTH
else
exposed-modules: Control.Monad.Trans.API
Data.JSON.Void
Data.JSON.Schema
Data.JSON.SchemaNoTH
Data.Settings.YQL
Data.Settings.YQLNoTH
Data.State.YQL
TH.API
TH.API.Input
TH.API.Output
TH.APIs
TH.APIsNoTH
TH.YQL
TH.YQLs
TH.YQLsNoTH
if flag(NoTH)
other-modules: Data.TH.Convert
Data.TH.Object
else
other-modules: Data.TH.API
Data.TH.Convert
Data.TH.FFI
Data.TH.Object
Data.TH.YQL
Helper.File
Helper.Name
Helper.YQL
ghc-options: -fno-warn-orphans -fno-warn-unused-binds -fno-warn-unused-matches
if flag(NoTH)
build-depends: aeson == 0.*
, yql == 0.*
, base == 4.*
, containers == 0.*
, directory == 1.*
, ecma262 == 0.*
, exceptions == 0.*
, hslogger == 1.*
, mtl == 2.*
, opendatatable == 0.*
, template-haskell == 2.*
, text == 1.*
, time == 1.*
, transformers == 0.*
, unordered-containers == 0.*
, utf8-string == 0.*
else
build-depends: aeson == 0.*
, yql == 0.*
, base == 4.*
, containers == 0.*
, deepseq == 1.*
, directory == 1.*
, ecma262 == 0.*
, exceptions == 0.*
, filemanip == 0.*
, filepath == 1.*
, hslogger == 1.*
, hxt == 9.*
, mtl == 2.*
, opendatatable == 0.*
, split == 0.*
, template-haskell == 2.*
, text == 1.*
, th-lift == 0.*
, time == 1.*
, transformers == 0.*
, unordered-containers == 0.*
, utf8-string == 0.*