packages feed

network-api-support-0.2.3: network-api-support.cabal

Name:               network-api-support
Version:            0.2.3
License:            BSD3
License-File:       LICENSE
Author:             Mark Hibberd <mark@hibberd.id.au>
Maintainer:         Mark Hibberd <mark@hibberd.id.au>
Copyright:          (c) 2012 Mark Hibberd
Synopsis:           Toolkit for building http client libraries over Network.Http.Conduit
Category:           Network APIs
Homepage:           https://github.com/markhibberd/network-api-support
Bug-reports:        https://github.com/markhibberd/network-api-support/issues
Cabal-Version:      >= 1.8
Build-Type:         Simple
Description:
  Toolkit for building http client libraries over Network.Http.Conduit.
  .
  /Note/: Examples of use can be found in the pin and postmark client
  libraries.

extra-source-files:
                    http_client_post_0_5/Network/Api/Support/HandleCodes.hs
                    http_client_pre_0_5/Network/Api/Support/HandleCodes.hs

Source-Repository   head
  Type:             git
  Location:         https://github.com/markhibberd/network-api-support.git

Flag                small_base
  Description:      Choose the new, split-up base package.

Flag                http_client_pre_0_5
  Description:      Use version < 0.5 of http-client
  Default:          False

Library
  Build-Depends:
                    base                          >= 3          && < 6
                  , aeson                         >= 0.5        && < 1.2
                  , attoparsec                    >= 0.10       && < 0.14
                  , bytestring                    >= 0.9.1.5    && < 0.11
                  , case-insensitive              >= 0.2        && < 1.3
                  , http-types                    >= 0.6        && < 0.10
                  , http-client-tls               >= 0.2.1.1    && < 0.4
                  , text                          >= 0.11       && < 1.3
                  , time                          == 1.*
                  , tls                           >= 1.2.0      && < 1.4

  if flag(http_client_pre_0_5)
    Build-Depends:
                    http-client                   >= 0.2.2.2    && < 0.5
  else
    Build-Depends:
                    http-client                   >= 0.5        && < 0.6

  GHC-Options:
                    -Wall -fno-warn-orphans

  Hs-Source-Dirs:
                    src
  if flag(http_client_pre_0_5)
    Hs-Source-Dirs:
                    http_client_pre_0_5
  else
    Hs-Source-Dirs:
                    http_client_post_0_5


  Exposed-Modules:
                    Network.Api.Support
                    Network.Api.Support.Core
                    Network.Api.Support.Request
                    Network.Api.Support.Response