packages feed

Plot-ho-matic-0.4.0.1: Plot-ho-matic.cabal

name:                Plot-ho-matic
version:             0.4.0.1
synopsis:            Real-time line plotter for protobuf-like data
license:             BSD3
license-file:        LICENSE
author:              Greg Horn
maintainer:          gregmainland@gmail.com
copyright:           Copyright (c) 2013-2014, Greg Horn
category:            Graphics
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:
  .gitignore
  .travis.yml
  CHANGELOG.md
  README.md
description: {
Plot-ho-matic provides real-time plotting of time-series data with a simple interface.
}

library
  hs-source-dirs:    src
  default-language:  Haskell2010
  exposed-modules:   PlotHo
  other-modules:     GraphWidget,
                     Accessors,
                     PlotChart,
                     PlotTypes,
                     ReadMaybe
  build-depends:     base >= 4.5.0 && < 5
                     , containers
                     , lens
                     , data-default-class
                     , stm
                     , glib
                     , gtk
                     , time
                     , Chart >= 1.1
                     , Chart-gtk >= 1.1
                     , linear

  ghc-options:      -O2 -Wall
  ghc-prof-options: -O2 -Wall -prof -fprof-auto -fprof-cafs -rtsopts


flag examples
    description:    build the examples
    default:        False

executable example
  if flag(examples)
    Buildable: True
  else
    Buildable: False
  hs-source-dirs:      examples
  main-is:             Example.hs
  default-language:    Haskell2010
  build-depends:       base >= 4.5 && < 5
                       , Plot-ho-matic
                       , containers

  ghc-options:         -threaded -O2