packages feed

line-2.1.0.0: line.cabal

name: line
version: 2.1.0.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, WAI application, or Scotty action
    .
    * 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
extra-source-files:
    README.md
    CHANGELOG.md
    examples/*.hs

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,
        http-conduit >=2.1.11 && <2.2,
        scotty >=0.11.0 && <0.12
    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 >=2.1.0.0 && <2.2,
        hspec >=2.2.4 && <2.3,
        hspec-wai >=0.6.6 && <0.7,
        QuickCheck >=2.8.2 && <2.9,
        quickcheck-instances >=0.3.12 && <0.4,
        text >=1.2.2.1 && <1.3,
        bytestring >=0.10.8.1 && <0.11,
        cryptohash-sha256 >=0.11.100.1 && <0.12,
        base64-bytestring >=1.0.0.1 && <1.1,
        transformers >=0.5.2.0 && <0.6,
        scotty >=0.11.0 && <0.12,
        aeson >=0.11.2.1 && <0.12,
        raw-strings-qq ==1.1.*,
        time >=1.6.0.1 && <1.7
    default-language: Haskell2010
    default-extensions: OverloadedStrings
    hs-source-dirs: test
    other-modules:
        Line.Messaging.API.TypesSpec
        Line.Messaging.API.TypesSpecHelper
        Line.Messaging.WebhookSpec
        Line.Messaging.Webhook.TypesSpec
        Line.Messaging.Webhook.TypesSpecHelper
        Line.Messaging.Webhook.ValidationSpec
    ghc-options: -threaded -rtsopts -with-rtsopts=-N