packages feed

yampa-canvas-0.2.3: yampa-canvas.cabal

name:                yampa-canvas
version:             0.2.3
synopsis:            blank-canvas frontend for Yampa
description:         @blank-canvas@ frontend for @Yampa@
license:             BSD3
license-file:        LICENSE
author:              Neil Sculthorpe
maintainer:          andygill@ku.edu
copyright:           Copyright (c) 2014 The University of Kansas
category:            Graphics
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md
tested-with:         GHC == 7.8.4
                   , GHC == 7.10.3
                   , GHC == 8.0.2
                   , GHC == 8.2.2
                   , GHC == 8.4.4
                   , GHC == 8.6.1
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://github.com/ku-fpg/yampa-canvas

library
  exposed-modules:     FRP.Yampa.Canvas
  other-extensions:    ScopedTypeVariables
  build-depends:       base            >= 4.7   && < 4.13,
                       blank-canvas    >= 0.5   && < 0.7,
                       stm             >= 2.4   && < 2.6,
                       time            >= 1.4   && < 1.9,
                       Yampa           >= 0.9.6 && < 0.14
  hs-source-dirs:      src
  default-language:    Haskell2010

flag example
  Description:         Please build the example
  Default:             False

executable yampa-canvas-bouncing-balls
  if flag(example)
    buildable:	       True
  else
    buildable:	       False
  build-depends:       base                >= 4.7  && < 4.13,
                       blank-canvas        >= 0.5  && < 0.7,
                       simple-affine-space >= 0.1  && < 0.2,
                       text                >= 1.1  && < 1.3,
                       Yampa               >= 0.13 && < 0.14,
                       yampa-canvas
  main-is:             DropBalls.hs
  other-modules:       BouncingBalls
  hs-source-dirs:      example
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded