packages feed

sakuraio-platform-0.1.0.0: sakuraio-platform.cabal

-- This file has been generated from package.yaml by hpack version 0.15.0.
--
-- see: https://github.com/sol/hpack

name:           sakuraio-platform
version:        0.1.0.0
synopsis:       Haskell representation of messages exchanged on the sakura.io platform.
description:    Please see the README on GitHub at <https://github.com/mitsuji/sakuraio-platform#readme>
category:       Network
homepage:       https://github.com/mitsuji/sakuraio-platform#readme
bug-reports:    https://github.com/mitsuji/sakuraio-platform/issues
author:         Takamasa Mitsuji
maintainer:     tkms@mitsuji.org
copyright:      2018 Takamasa Mitsuji
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    ChangeLog.md
    README.md
    test/data/OGChannels_Bytes.json.txt
    test/data/OGChannels_Double_0.001.json.txt
    test/data/OGChannels_Float_0.001.json.txt
    test/data/OGChannels_Int32_0.json.txt
    test/data/OGChannels_Int32_12345.json.txt
    test/data/OGChannels_Int64_0.json.txt
    test/data/OGChannels_Int64_12345.json.txt
    test/data/OGChannels_Word32_0.json.txt
    test/data/OGChannels_Word32_12345.json.txt
    test/data/OGChannels_Word64_0.json.txt
    test/data/OGChannels_Word64_12345.json.txt
    test/data/OGConnection_false.json.txt
    test/data/OGConnection_true.json.txt
    test/data/OGKeepalive.json.txt
    test/data/OGLocation_0.json.txt
    test/data/OGLocation_unknown.json.txt

source-repository head
  type: git
  location: https://github.com/mitsuji/sakuraio-platform

flag demo
  description: install demo applications.
  manual: True
  default: False

library
  hs-source-dirs:
      src
  build-depends:
      base >= 4.7 && < 5
    , time
    , bytestring
    , aeson
    , unordered-containers
  exposed-modules:
      Network.SakuraIO.Platform.Message
  default-language: Haskell2010

executable sakuraio-platform-demo-http-client-exe
  main-is: DemoHttpClient.hs
  hs-source-dirs:
      app
  build-depends:
      base >= 4.7 && < 5
    , time
    , bytestring
    , aeson
    , unordered-containers
    , sakuraio-platform
    , http-types
    , http-client
    , http-client-tls
  if !flag(demo)
    buildable: False
  other-modules:
      DemoWai
      DemoWebSockets
  default-language: Haskell2010

executable sakuraio-platform-demo-wai-exe
  main-is: DemoWai.hs
  hs-source-dirs:
      app
  build-depends:
      base >= 4.7 && < 5
    , time
    , bytestring
    , aeson
    , unordered-containers
    , sakuraio-platform
    , http-types
    , wai
    , warp
  if !flag(demo)
    buildable: False
  other-modules:
      DemoHttpClient
      DemoWebSockets
  default-language: Haskell2010

executable sakuraio-platform-demo-websockets-exe
  main-is: DemoWebSockets.hs
  hs-source-dirs:
      app
  build-depends:
      base >= 4.7 && < 5
    , time
    , bytestring
    , aeson
    , unordered-containers
    , sakuraio-platform
    , websockets
    , wuss
    , network
    , mtl
    , text
  if !flag(demo)
    buildable: False
  other-modules:
      DemoHttpClient
      DemoWai
  default-language: Haskell2010

test-suite sakuraio-platform-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  build-depends:
      base >= 4.7 && < 5
    , time
    , bytestring
    , aeson
    , unordered-containers
    , sakuraio-platform
    , hspec
    , time
  default-language: Haskell2010