packages feed

ig-0.7: ig.cabal

name:                ig
version:             0.7
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