name: opentok
version: 0.0.5
synopsis: An OpenTok SDK for Haskell
description:
  .
  Session creation, token generation, and archive management for the OpenTok platform.
category: Web
build-type: Simple
cabal-version: 1.18
author: Aaron Rice
maintainer: adrice727@gmail.com
homepage: https://github.com/adrice727/opentok-haskell
bug-reports: https://github.com/adrice727/opentok-haskell/issues
license: MIT
license-file: LICENSE
copyright: 2018 Aaron Rice

library
    default-language:   Haskell2010
    exposed-modules:    OpenTok, OpenTok.Session, OpenTok.Archive, OpenTok.Types
    other-modules:      OpenTok.Client, OpenTok.Token, OpenTok.Util
    hs-source-dirs:     src
    build-depends:
      base >=4.7 && <5
      , base-compat >= 0.9.0
      , aeson >= 1.1.2.0
      , aeson-casing >= 0.1.0.5
      , aeson-compat >= 0.3.4.0
      , base64-string >= 0.2
      , bytestring >= 0.10.0.0
      , containers >= 0.5.7.1
      , convertible >= 1.0.10.0
      , either >= 4.0
      , http-client >= 0.5.0
      , http-client-tls >= 0.3.0
      , http-conduit > 2.0.0
      , http-types >= 0.6.0
      , iproute >= 1.4.0
      , jose >= 0.6.0.0
      , lens >= 4.10
      , monad-time >= 0.2.0.0
      , unordered-containers >= 0.2.0
      , SHA >= 1.6.4.2
      , strings >= 1.1
      , uuid >= 1.3.13
      , utf8-string >=1.0.1.1
      , text >= 1.0.0.0
      , time >=1.4.0.1 && <1.9
      , transformers >= 0.5.2.0
    if flag(documentation)
        build-depends: hscolour == 1.20.*


test-suite tests
  default-language:   Haskell2010
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Test.hs
  other-modules:      Session, Token, Archive, Config

  build-depends:
    base
    , base-compat
    , aeson
    , aeson-casing
    , aeson-compat
    , base64-string
    , bytestring
    , containers
    , convertible
    , either
    , http-client
    , http-client-tls
    , http-conduit
    , http-types
    , iproute
    , jose
    , lens
    , monad-time
    , unordered-containers
    , SHA
    , strings
    , uuid
    , utf8-string
    , text
    , time
    , transformers

    , opentok

    , hspec >= 2.0.0
    , split >= 0.2.3
    , QuickCheck >= 2
    , quickcheck-instances
    , tasty
    , tasty-hspec >= 1.0
    , tasty-quickcheck

flag documentation
    default: True