packages feed

postmark-0.2.0: postmark.cabal

Name:               postmark
Version:            0.2.0
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:           Library for postmarkapp.com HTTP Api
Category:           Network APIs
Homepage:           https://github.com/apiengine/postmark
Bug-reports:        https://github.com/apiengine/postmark/issues
Cabal-Version:      >= 1.8
Build-Type:         Simple
Tested-With:        GHC == 7.10.3, GHC == 8.0.2
Description:
  postmark

Source-Repository   head
  Type:             git
  Location:         https://github.com/apiengine/postmark.git

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

Flag demo
    Description:   Build the demo executable.
    Default:       False

Library
  Build-Depends:
                    base                            >= 3 && < 5
                    , aeson                         >= 0.6 && < 1.3
                    , attoparsec                    >= 0.10 && < 0.14
                    , bytestring                    >= 0.9 && < 0.11
                    , containers                    >= 0.4 && < 0.6
                    , http-types                    >= 0.6 && < 1
                    , text                          >= 0.11 && < 1.3
                    , network-api-support           >= 0.3.0 && < 0.4
                    , http-client-tls               >= 0.2.1.1 && < 0.4


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

  Hs-Source-Dirs:
                    src

  Exposed-Modules:
                    Network.Api.Postmark
                    Network.Api.Postmark.Core
                    Network.Api.Postmark.Data
                    Network.Api.Postmark.Error
                    Network.Api.Postmark.Request
                    Network.Api.Postmark.Response
                    Network.Api.Postmark.Settings
                    Network.Api.Postmark.Tutorial


executable         postmark-demo
    if flag(demo)
        Buildable: True
    else
        Buildable: False

    ghc-options:   -Wall -threaded -O2
    main-is:           ../demo/demo.hs
    hs-source-dirs:    dist demo
    build-depends:     base
                     , postmark
                     , text