name:                lightning-haskell
version:             0.1.0.2
synopsis:            Haskell client for lightning-viz REST API
description:         Please see README.md
homepage:            https://github.com/cmoresid/lightning-haskell#readme
license:             BSD3
license-file:        LICENSE
author:              Connor Moreside
maintainer:          connor@moresi.de
copyright:           2016 Connor Moreside
stability:           experimental
category:            Web, Visualization
tested-with:         GHC == 7.10.3, GHC == 8.0.1
build-type:          Simple
cabal-version:       >=1.10
description:
    A Haskell client for lightning-viz server. <http://lightning-viz.org/>

library
  hs-source-dirs:      src
  exposed-modules:     Web.Lightning
                     , Web.Lightning.Session
                     , Web.Lightning.Plots
                     , Web.Lightning.Render
                     , Web.Lightning.Types
                     , Web.Lightning.Types.Lightning
                     , Web.Lightning.Types.Error
                     , Web.Lightning.Types.Visualization
                     , Web.Lightning.Utilities
  other-modules:       Web.Lightning.Routes
                     , Web.Lightning.Plots.Line
                     , Web.Lightning.Plots.Force
                     , Web.Lightning.Plots.Scatter
                     , Web.Lightning.Plots.Matrix
                     , Web.Lightning.Plots.Adjacency
                     , Web.Lightning.Plots.Map
                     , Web.Lightning.Plots.Circle
                     , Web.Lightning.Plots.Histogram
                     , Web.Lightning.Plots.Graph
                     , Web.Lightning.Plots.GraphBundled
                     , Web.Lightning.Plots.Scatter3
                     , Web.Lightning.Types.Session
                     , Web.Lightning.Plots.LineStream
                     , Web.Lightning.Plots.ScatterStream
                     , Web.Lightning.Plots.Volume
  build-depends:       base >= 4.7 && < 5
                     , aeson >= 0.11.2.0 && < 1.0.0.0
                     , blaze-html >= 0.8.1.2
                     , bytestring >= 0.10.6.0
                     , data-default-class >= 0.0.1
                     , free >= 4.12.0
                     , mtl >= 2.2.0
                     , http-client >= 0.4.0
                     , http-client-tls >= 0.2.4.0
                     , http-types >= 0.9.1
                     , network >= 2.6.2.0
                     , text >= 1.2.2.0
                     , transformers >= 0.4.0.0
                     , api-builder == 0.12.*
  ghc-options:         -Wall
  default-language:    Haskell2010

test-suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , lightning-haskell
                     , aeson >= 0.11.2.0 && < 1.0.0.0
                     , api-builder == 0.12.*
                     , bytestring >= 0.10.6.0
                     , hspec >= 2.2.0
                     , text >= 1.2.2.0
                     , transformers >= 0.4.0.0
  other-modules:       Web.LightningSpec
                     , Web.Lightning.Types.PlotsSpec
                     , Web.Lightning.UtilitySpec
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

test-suite test-integration
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test-integration
  main-is:             Spec.hs
  build-depends:       base
                     , lightning-haskell
                     , aeson >= 0.11.2.0 && < 1.0.0.0
                     , http-client >= 0.4.0
                     , http-client-tls >= 0.2.4.0
                     , http-types >= 0.9.1
                     , network >= 2.6.2.0
                     , api-builder == 0.12.*
                     , bytestring >= 0.10.6.0
                     , hspec >= 2.2.0
                     , text >= 1.2.2.0
                     , transformers >= 0.4.0.0
  other-modules:       ConfigLightning
                     , Web.Lightning.PlotSpec
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/cmoresid/lightning-haskell