packages feed

flowdock-api-0.1.0.0: flowdock-api.cabal

-- Initial flowdock-api.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                flowdock-api
version:             0.1.0.0
synopsis:            API integration with Flowdock.
homepage:            https://github.com/gabemc/flowdock-api
license:             MIT
license-file:        LICENSE
author:              Gabriel McArthur
maintainer:          gabriel.mcarthur@gmail.com
copyright:           Gabriel McArthur 2013
category:            Network
build-type:          Simple
cabal-version:       >=1.10

description:         This library uses the Network.HTTP.Client library to interact
                     with the FlowDock chat service.
                     .
                     * Push API - <https://www.flowdock.com/api/team-inbox>
                     .
                     * Streaming API - <https://www.flowdock.com/api/streaming>
                     .
                     * REST API - <https://www.flowdock.com/api/rest>

-- extra-source-files:  

source-repository head
  type:     git
  location: git://github.com/gabemc/flowdock-api.git

executable flowdock
    default-language:    Haskell2010
    hs-source-dirs:      src
    main-is:             Main.hs
    ghc-options:
        -Wall
        -fwarn-tabs
        -funbox-strict-fields
        -rtsopts
        -threaded
        -with-rtsopts=-N
    default-extensions:
        DeriveGeneric
      , GeneralizedNewtypeDeriving
      , OverloadedStrings
      , TemplateHaskell
      , RecordWildCards
      , RankNTypes
      , FlexibleContexts
      , DeriveDataTypeable
      , PatternGuards
      , Arrows
      , CPP
    build-depends:
        base >=4 && < 5
      , aeson
      , base64-bytestring
      , blaze-builder
      , bytestring
      , data-default
      , directory
      , filepath
      , HsOpenSSL
      , http-streams
      , http-types
      , io-streams
      , MonadCatchIO-transformers
      , optparse-applicative 
      , split
      , text
      , time
      , transformers
      , unordered-containers
      , vector
 
library
    default-language:    Haskell2010
    hs-source-dirs:      src
    ghc-options:
        -Wall
        -fwarn-tabs
        -funbox-strict-fields
        -rtsopts
        -with-rtsopts=-N
    default-extensions:
        DeriveGeneric
      , GeneralizedNewtypeDeriving
      , OverloadedStrings
      , TemplateHaskell
      , RecordWildCards
      , RankNTypes
      , FlexibleContexts
      , DeriveDataTypeable
      , PatternGuards
      
    exposed-modules:     
        Flowdock
      , Flowdock.MessageTypes
      , Flowdock.Push
      , Flowdock.REST.Flow
      , Flowdock.REST.User
      , Flowdock.REST.Organization
      , Flowdock.REST.Invitation
      , Flowdock.REST.Source
          
    other-modules:       
        Flowdock.Internal

    -- other-extensions:    
    build-depends:
        base >=4 && < 5
      , aeson
      , base64-bytestring
      , blaze-builder
      , bytestring
      , data-default
      , HsOpenSSL
      , http-streams
      , http-types
      , io-streams
      , MonadCatchIO-transformers
      , monad-logger
      , text
      , time
      , transformers
      , unordered-containers
      , vector
      
test-suite spec
    type:              exitcode-stdio-1.0
    default-language:  Haskell2010
    main-is:           Spec.hs
    hs-source-dirs:    specs,src
    ghc-options:       -Wall
    default-extensions:
        DeriveGeneric
      , GeneralizedNewtypeDeriving
      , OverloadedStrings
      , TemplateHaskell
      , RecordWildCards
      , RankNTypes
      , FlexibleContexts
      , DeriveDataTypeable
      , PatternGuards
      , QuasiQuotes

    build-depends:
      -- Library
        base >=4 && < 5
      , aeson
      , base64-bytestring
      , blaze-builder
      , bytestring
      , data-default
      , HsOpenSSL
      , http-streams
      , http-types
      , io-streams
      , MonadCatchIO-transformers
      , monad-logger
      , text
      , time
      , transformers
      , unordered-containers
      , vector

      -- Tests
      , heredoc
      , hspec
      , template-haskell