packages feed

line-1.0.1.0: line.cabal

name: line
version: 1.0.1.0
cabal-version: >=1.10
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: (c) 2016 Jun <me@noraesae.net>
maintainer: Jun <me@noraesae.net>
homepage: https://github.com/noraesae/line
synopsis: Haskell SDK for the LINE API
description:
    This package exports bindings to LINE APIs.
    .
    It provides the following features:
    .
    * Internal auth signature validator
    .
    * Webhook handled with handler function or WAI application
    .
    * Functions and types for <https://devdocs.line.me/en/#messaging-api LINE Messaging API>
    .
    For example usages, please see the
    <https://github.com/noraesae/line/tree/master/examples examples> directory.
category: Network
author: Jun

source-repository head
    type: git
    location: https://github.com/noraesae/line

library
    exposed-modules:
        Line.Messaging.API
        Line.Messaging.API.Types
        Line.Messaging.Common.Types
        Line.Messaging.Types
        Line.Messaging.Webhook
        Line.Messaging.Webhook.Types
        Line.Messaging.Webhook.Validation
    build-depends:
        base >=4.8 && <5,
        wai >=3.2.1.1 && <3.3,
        http-types >=0.9.1 && <0.10,
        aeson >=0.11.2.1 && <0.12,
        bytestring >=0.10.8.1 && <0.11,
        text >=1.2.2.1 && <1.3,
        transformers >=0.5.2.0 && <0.6,
        cryptohash-sha256 >=0.11.100.1 && <0.12,
        base64-bytestring >=1.0.0.1 && <1.1,
        time >=1.6.0.1 && <1.7,
        wreq >=0.4.1.0 && <0.5,
        lens ==4.14.*
    default-language: Haskell2010
    default-extensions: OverloadedStrings
    hs-source-dirs: src
    ghc-options: -Wall

test-suite line-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    build-depends:
        base >=4.9.0.0 && <4.10,
        line >=1.0.1.0 && <1.1
    default-language: Haskell2010
    default-extensions: OverloadedStrings
    hs-source-dirs: test
    ghc-options: -threaded -rtsopts -with-rtsopts=-N