This repository has been archived by the owner on Aug 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zenfolio.cabal
107 lines (93 loc) · 3.03 KB
/
zenfolio.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
name: zenfolio
version: 0.1.0
Synopsis: Haskell binding to the Zenfoilo API
Description:
The zenfolio API binding lets you access Zenfolio.com's
resources and methods from Haskell.
.
Implements only a portion of the full API, as specified by
<http://www.zenfolio.com/zf/help/api>
category : Web
license : BSD3
license-file : LICENSE
author : Mike Dillon <[email protected]>
maintainer : [email protected]
cabal-version : >= 1.2
build-type : Simple
extra-source-files: README
flag old-base
description: Old, monolithic base
default: False
library
Exposed-modules: Network.JsonRpc,
Network.JsonRpc.Error,
Network.JsonRpc.Monad,
Network.JsonRpc.Request,
Network.JsonRpc.Response,
Network.JsonRpc.Utils,
Web.Zenfolio.API,
Web.Zenfolio.Auth,
Web.Zenfolio.Categories,
Web.Zenfolio.Collections,
Web.Zenfolio.Groups,
Web.Zenfolio.Monad,
Web.Zenfolio.PhotoSets,
Web.Zenfolio.Photos,
Web.Zenfolio.Photos.Upload,
Web.Zenfolio.RPC,
Web.Zenfolio.Types,
Web.Zenfolio.Types.Access,
Web.Zenfolio.Types.Base,
Web.Zenfolio.Types.GroupShiftOrder,
Web.Zenfolio.Types.Search,
Web.Zenfolio.Types.ShiftOrder,
Web.Zenfolio.Users,
Web.Zenfolio.Utils
Ghc-Options: -Wall
build-depends: HTTP, network, utf8-string, json, bytestring, mtl,
time, old-time, old-locale, Crypto, magic, mime,
filepath, unix
if flag(old-base)
Build-Depends: base < 3
else
Build-Depends: base >= 4
executable simpleJsonRpc {
main-is: examples/SimpleJsonRpc.hs
ghc-options: -Wall
}
executable loadPublicProfile {
main-is: examples/LoadPublicProfile.hs
ghc-options: -Wall
}
executable loadPrivateProfile {
main-is: examples/LoadPrivateProfile.hs
ghc-options: -Wall
}
executable uploadPhoto {
main-is: examples/UploadPhoto.hs
ghc-options: -Wall
}
executable loadPhoto {
main-is: examples/LoadPhoto.hs
ghc-options: -Wall
}
executable updatePhotoCaption {
main-is: examples/UpdatePhotoCaption.hs
ghc-options: -Wall
}
executable searchPhotoByText {
main-is: examples/SearchPhotoByText.hs
ghc-options: -Wall
}
executable getCategories {
main-is: examples/GetCategories.hs
ghc-options: -Wall
}
executable createCollection {
main-is: examples/CreateCollection.hs
ghc-options: -Wall
}
executable collectionAddPhoto {
main-is: examples/CollectionAddPhoto.hs
ghc-options: -Wall
}