packages feed

fb-1.2.0: fb.cabal

-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 6cdcc7bbe1b414ac426e06da9807fe668b27be226182b4a96c6e237a783d6e57

name:           fb
version:        1.2.0
synopsis:       Bindings to Facebook's API.
description:    This package exports bindings to Facebook's APIs (see
                <http://developers.facebook.com/>).  Does not have any external
                dependencies and tries to use as little resources (such as
                memory, sockets and CPU) as possible by using packages such as
                @aeson@, @attoparsec@, @bytestring@, @conduit@, @http-conduit@,
                @text@ and others.
                .
                While we would like to have a complete binding to Facebook'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/psibi/fb/issues>).
category:       Web
stability:      Experimental
homepage:       https://github.com/psibi/fb
bug-reports:    https://github.com/psibi/fb/issues
author:         Felipe Lessa, Sibi Prabakaran
maintainer:     Sibi <sibi@psibi.in>
copyright:      Felipe Lessa and Sibi Prabakaran
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    CHANGELOG.md
    example.hs
    README.md
    tests/Main.hs
    tests/tryIt.hs

source-repository head
  type: git
  location: git@github.com:psibi/fb.git

flag debug
  description: Print debugging info.
  manual: False
  default: False

library
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      aeson >=0.8.0.2
    , attoparsec >=0.10.4 && <0.14
    , base >=4 && <5
    , base16-bytestring >=0.1
    , base64-bytestring >=0.1.1
    , bytestring >=0.9 && <0.11
    , cereal >=0.3 && <0.6
    , conduit >=1.3.0
    , conduit-extra >=1.3.0
    , crypto-api >=0.11 && <0.14
    , cryptohash >=0.7
    , cryptohash-cryptoapi ==0.1.*
    , data-default
    , http-client >=0.4.30
    , http-conduit >=2.3.0
    , http-types
    , monad-logger >=0.3.28
    , old-locale
    , resourcet >=1.2.0
    , text >=0.11 && <1.3
    , time >=1.4
    , transformers >=0.2 && <0.6
    , transformers-base
    , unliftio
    , unliftio-core
    , unordered-containers
  if flag(debug)
    cpp-options: -DDEBUG
  exposed-modules:
      Facebook
  other-modules:
      Facebook.Auth
      Facebook.Base
      Facebook.FQL
      Facebook.Graph
      Facebook.Monad
      Facebook.Object.Action
      Facebook.Object.Checkin
      Facebook.Object.FriendList
      Facebook.Object.Order
      Facebook.Object.Page
      Facebook.Object.User
      Facebook.Pager
      Facebook.RealTime
      Facebook.TestUsers
      Facebook.Types
      Paths_fb
  default-language: Haskell2010

test-suite runtests
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      tests
  ghc-options: -Wall -fno-warn-orphans
  build-depends:
      HUnit
    , QuickCheck
    , aeson
    , base
    , bytestring
    , conduit
    , containers
    , data-default
    , fb
    , hspec
    , http-conduit
    , resourcet
    , text
    , time
    , transformers
    , unliftio
  other-modules:
      Paths_fb
  default-language: Haskell2010