xing-api-0.1.1: xing-api.cabal
name: xing-api
version: 0.1.1
synopsis: Wrapper for the XING API, v1.
description: This package is currently under development and not considered stable.
The versioning follows <http://semver.org> and the first stable version will be release as 1.0.0.
.
This package includes a couple of demo programs.
By default these demos won't be built and you'll only install the library.
You have to set the /demos/ flag if you want to install them.
To use these demos, you also have to obtain an API consumer key from
<https://dev.xing.com/applications> (a /test key/ will suffice).
.
>cabal install -f demos xing-api
license: BSD3
license-file: LICENSE
category: Web
copyright: Copyright 2013 Jan Ahrens
author: Jan Ahrens
maintainer: Jan Ahrens
cabal-version: >=1.10
homepage: http://github.com/JanAhrens/xing-api-haskell
bug-reports: http://github.com/JanAhrens/xing-api-haskell/issues
build-type: Simple
flag demos
default: False
description: Build demo programs
flag minimal-demo
default: False
description: Build the minimal demo from the README. It's not runnable unless you modify the source.
source-repository head
type: git
location: http://github.com/JanAhrens/xing-api-haskell.git
library
exposed-modules: Web.XING
build-depends: base == 4.5.*
, containers == 0.4.*
, time == 1.4.*
, text == 0.11.*
, authenticate-oauth == 1.4.*
, http-types == 0.8.*
, http-conduit == 1.8.*
, resourcet == 0.4.*
, transformers == 0.2.*
, text == 0.11.*
, bytestring == 0.9.*
, aeson == 0.6.*
, lifted-base == 0.2.*
, monad-control == 0.3.*
other-modules: Web.XING.API
, Web.XING.API.Error
, Web.XING.Calls.IdCard
, Web.XING.Calls.User
, Web.XING.Internal.AuthenticateOAuthPatch
, Web.XING.Types
, Web.XING.Types.User
, Web.XING.Types.User.MinimalUser
, Web.XING.Types.User.FullUser
, Web.XING.Types.Address
, Web.XING.Types.Award
, Web.XING.Types.BirthDate
, Web.XING.Types.ProfessionalExperience
, Web.XING.Auth
hs-source-dirs: lib
ghc-options: -Wall
default-language: Haskell2010
Test-Suite TestMain
type: exitcode-stdio-1.0
build-depends: base == 4.5.*
, HTF == 0.10.*
, text == 0.11.*
, bytestring == 0.9.*
, aeson == 0.6.*
, containers == 0.4.*
, time == 1.4.*
, xing-api
other-modules: Types.AddressTest
, Types.AwardTest
, Types.BirthDateTest
, Types.ProfessionalExperienceTest
, Types.User.FullUserTest
, Types.User.MinimalUserTest
hs-source-dirs: tests
main-is: Main.hs
ghc-options: -Wall
default-language: Haskell2010
executable xing-api-cli-demo
if flag(demos)
buildable: True
build-depends: base == 4.*
, bytestring == 0.9.*
, monad-control == 0.3.*
, resourcet == 0.4.*
, text == 0.11.*
, xing-api
else
buildable: False
hs-source-dirs: demos
main-is: cli-demo.hs
GHC-options: -Wall
Default-language: Haskell2010
executable xing-api-yesod-demo
hs-source-dirs: demos
if flag(demos)
buildable: True
build-depends: base == 4.*
, bytestring == 0.9.*
, containers == 0.4.*
, hamlet == 1.1.*
, http-conduit == 1.8.*
, shakespeare-i18n == 1.0.*
, text == 0.11.*
, time == 1.4.*
, warp == 1.3.*
, xing-api
, yesod-core == 1.1.*
else
buildable: False
main-is: yesod-demo.hs
GHC-options: -Wall
Default-language: Haskell2010
executable xing-api-minimal-demo
hs-source-dirs: demos
if flag(minimal-demo)
buildable: True
build-depends: base == 4.*
, bytestring == 0.9.*
, xing-api
else
buildable: False
main-is: minimal-demo.hs
GHC-options: -Wall
Default-language: Haskell2010