packages feed

vty-3.1.8.2: vty.cabal

Name:                vty
Version:             3.1.8.2
License:             BSD3
License-file:        LICENSE
Author:              Stefan O'Rear
Maintainer:          Corey O'Connor (coreyoconnor@gmail.com)
Homepage:            http://trac.haskell.org/vty/
Category:            User Interfaces
Synopsis:            A simple terminal access library
Description:
  vty is a *very* simplistic library in the niche of ncurses.  It is intended
  to be easy to use, have no confusing corner cases, and good support for common
  terminal types.
  .
  If you want to use it, currently the best reference is the test module (Test.hs).
  .
  Notable infelicities: requires an ANSI-type terminal, poor efficiency,
                        requires Linux\/xterm style UTF8 support.
  .
  The latest code is in a darcs repo at <http://code.haskell.org/vty/>. This is only
  compatible with GHC 6.10+.
  .
  The 3.1.8.* line of vty which is compatable with GHC 6.8 and GHC 6.10 is currently 
  in the darcs repo at <http://www.tothepowerofdisco.com/repo/vty-compat>.
  '
  &#169; 2006-2007 Stefan O'Rear; BSD3 license.

Build-Type:          Simple
Data-Files:          README, TODO
Extra-Source-Files:  test/Test.hs, test/Bench.hs, test/Test2.hs, test/make_tests.sh
Extra-Source-Files:  cbits/gwinsz.h
cabal-version:       >=1.2

Library {
    if impl(ghc>=6.9)
        Build-Depends:       base >= 4 && < 5
    else
        Build-Depends:       base < 4
    Build-Depends:       extensible-exceptions
    Build-Depends:       bytestring, containers, unix
    Build-Depends:       terminfo >= 0.2 && < 0.3
    Build-Depends:       utf8-string >= 0.3 && < 0.4

    Exposed-Modules:     Graphics.Vty
    C-Sources:           cbits/gwinsz.c
                         cbits/set_term_timing.c
    Include-Dirs:        cbits
    Install-Includes:    gwinsz.h
    Other-Modules:       Graphics.Vty.Types
                         Graphics.Vty.Cursor
                         Graphics.Vty.LLInput
                         Graphics.Vty.Output
                         Graphics.Vty.ControlStrings

    ghc-options:         -funbox-strict-fields -Wall -threaded
    ghc-prof-options:    -funbox-strict-fields -prof -auto-all -Wall
}