packages feed

plot-light-0.1.2: plot-light.cabal

name:                plot-light
version:             0.1.2
synopsis:            A lightweight plotting library, exporting to SVG
description:         A lightweight plotting library, exporting to SVG
homepage:            https://github.com/ocramz/plot-light
license:             BSD3
license-file:        LICENSE
author:              Marco Zocca
maintainer:          zocca marco gmail
copyright:           2017 Marco Zocca
category:            Graphics
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10
tested-with:         GHC == 8.0.2
data-dir:            data
data-files:          forex
                     heatmap-bw

library
  default-language:    Haskell2010
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Graphics.Rendering.Plot.Light                    
  other-modules:       Graphics.Rendering.Plot.Light.Internal
                       Graphics.Rendering.Plot.Light.IO.Text
                       Graphics.Rendering.Plot.Light.PlotTypes.Heatmap
                       Graphics.Rendering.Plot.Light.PlotTypes.Scatter
                       Graphics.Rendering.Plot.Light.PlotTypes.TimeSeries
                       Graphics.Rendering.Plot.Light.PlotTypes.TimeSeries.Candlestick
                       Data.TimeSeries
                       Data.TimeSeries.Forex
                       Graphics.Rendering.Plot.Light.Internal.Geometry
  build-depends:       base >= 4.7 && < 5
                     , time
                     , attoparsec-time                     
                     -- , vector
                     , attoparsec
                     , scientific
                     , text
                     , colour
                     , palette
                     , blaze-svg
                     -- , hspec    
                     -- , QuickCheck
                                          

-- executable plot-light
--   default-language:    Haskell2010
--   ghc-options:         -threaded -rtsopts -with-rtsopts=-N
--   hs-source-dirs:      app/timeseries
--   main-is:             Main.hs
--   build-depends:       base
--                      , plot-light
--                      -- , attoparsec
--                      -- , text
--                      -- , colour
--                      -- , blaze-svg
--                      -- , scientific

test-suite spec
  default-language:    Haskell2010
  ghc-options:         -Wall
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       LibSpec
  build-depends:       base
                     , plot-light
                     , hspec
                     , QuickCheck

source-repository head
  type:     git
  location: https://github.com/ocramz/plot-light