packages feed

Plot-ho-matic-0.5.0.3: Plot-ho-matic.cabal

name:                Plot-ho-matic
version:             0.5.0.3
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 ('addHistoryChannel').
There is also a more general interface to plot arbitrary data ('addChannel').
.
See the example on <http://www.github.com/ghorn/Plot-ho-matic> to help get started.
}

library
  hs-source-dirs:    src
  default-language:  Haskell2010
  exposed-modules:   PlotHo
  other-modules:     PlotHo.GraphWidget,
                     PlotHo.PlotChart,
                     PlotHo.PlotTypes
  build-depends:     base >= 4.6.0.0 && < 5
                     , containers
                     , lens
                     , data-default-class
                     , glib
                     , gtk >= 0.13
                     , time
                     , Chart >= 1.1
                     , Chart-cairo >= 1.1
                     , cairo
                     , text
                     , generic-accessors >= 0.1.0.1

  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:         -O2 -with-rtsopts=-T
  ghc-prof-options:    -O2 -Wall -prof -fprof-auto -fprof-cafs -rtsopts