packages feed

vty-ui-1.7: vty-ui.cabal

Name:                vty-ui
Version:             1.7
Synopsis:
  An interactive terminal user interface library for Vty

Description:
  An extensible library of user interface widgets for composing and
  laying out Vty user interfaces.  This library provides a collection
  of widgets for building and composing interactive,
  event-driven terminal interfaces.  This library is intended to make
  non-trivial user interfaces easy to express and modify without
  having to worry about terminal size.
  .
  Be sure to check out the user manual for the version you're using
  at: <http://jtdaugherty.github.com/vty-ui/>
  .
  Build with the 'demos' flag to get a set of demonstration programs
  to see some of the things the library can do!

Category:            User Interfaces
Author:              Jonathan Daugherty <cygnus@foobox.com>
Maintainer:          Jonathan Daugherty <cygnus@foobox.com>
Build-Type:          Simple
License:             BSD3
License-File:        LICENSE
Cabal-Version:       >= 1.8
Homepage:            http://jtdaugherty.github.com/vty-ui/

Data-Files:
    doc/ch1/api_notes.tex
    doc/ch1/getting_started.tex
    doc/ch1/main.tex
    doc/ch2/main.tex
    doc/ch2/collections.tex
    doc/ch2/composing.tex
    doc/ch2/event_loop.tex
    doc/ch2/focus_groups.tex
    doc/ch2/handling_user_input.tex
    doc/ch3/cursor_positioning.tex
    doc/ch3/deferring_to_children.tex
    doc/ch3/growth_policy_functions.tex
    doc/ch3/implementing_composite_widgets.tex
    doc/ch3/implementing_event_handlers.tex
    doc/ch3/main.tex
    doc/ch3/new_widget_type.tex
    doc/ch3/rendering.tex
    doc/ch3/widget_positioning.tex
    doc/ch3/widgetimpl_api.tex
    doc/ch4/Borders.tex
    doc/ch4/Box.tex
    doc/ch4/Button.tex
    doc/ch4/Centering.tex
    doc/ch4/CheckBox.tex
    doc/ch4/Collection.tex
    doc/ch4/Dialog.tex
    doc/ch4/DirBrowser.tex
    doc/ch4/Edit.tex
    doc/ch4/Fills.tex
    doc/ch4/Groups.tex
    doc/ch4/Fixed.tex
    doc/ch4/FormattedText.tex
    doc/ch4/main.tex
    doc/ch4/Limits.tex
    doc/ch4/List.tex
    doc/ch4/Padded.tex
    doc/ch4/ProgressBar.tex
    doc/ch4/Table.tex
    doc/ch5/main.tex
    doc/ch5/TextClip.tex
    doc/ch5/TextZipper.tex
    doc/macros.tex
    doc/Makefile
    doc/vty-ui-users-manual.tex
    doc/title_page.tex
    doc/toc.tex

Source-Repository head
  type:     git
  location: git://github.com/jtdaugherty/vty-ui.git

Flag no-tests
    Description:     Skip build of testing executable
    Default:         False

Flag demos
    Description:     Build demonstration programs
    Default:         False

Library
  Build-Depends:
    base >= 4 && < 5,
    vty >= 4.7.0.18,
    containers >= 0.2 && < 0.6,
    regex-base >= 0.93 && < 0.94,
    directory >= 1.0 && < 1.3,
    filepath >= 1.1 && < 1.4,
    unix >= 2.4 && < 2.8,
    mtl >= 2.0 && < 2.2,
    stm >= 2.1 && < 2.5,
    array >= 0.3.0.0 && < 0.6.0.0,
    text >= 0.11,
    vector >= 0.9

  GHC-Options:       -Wall

  Hs-Source-Dirs:    src
  Exposed-Modules:
          Graphics.Vty.Widgets.All
          Graphics.Vty.Widgets.Alignment
          Graphics.Vty.Widgets.Text
          Graphics.Vty.Widgets.TextClip
          Graphics.Vty.Widgets.TextZipper
          Graphics.Vty.Widgets.Core
          Graphics.Vty.Widgets.Box
          Graphics.Vty.Widgets.List
          Graphics.Vty.Widgets.Borders
          Graphics.Vty.Widgets.EventLoop
          Graphics.Vty.Widgets.Edit
          Graphics.Vty.Widgets.Util
          Graphics.Vty.Widgets.Table
          Graphics.Vty.Widgets.CheckBox
          Graphics.Vty.Widgets.Padding
          Graphics.Vty.Widgets.Limits
          Graphics.Vty.Widgets.Fixed
          Graphics.Vty.Widgets.Fills
          Graphics.Vty.Widgets.Centering
          Graphics.Vty.Widgets.Skins
          Graphics.Vty.Widgets.Events
          Graphics.Vty.Widgets.Dialog
          Graphics.Vty.Widgets.Button
          Graphics.Vty.Widgets.ProgressBar
          Graphics.Vty.Widgets.DirBrowser
          Graphics.Vty.Widgets.Group
          Text.Trans.Tokenize

Executable vty-ui-tests
  Build-Depends:
    base >= 4 && < 5,
    QuickCheck >= 2.4 && < 2.7,
    random >= 1.0,
    text,
    vty,
    vty-ui

  CPP-Options: -DTESTING
  GHC-Options: -Wall

  if flag(no-tests)
    Buildable:     False
  end
  Hs-Source-Dirs:  src,test,test/src
  Main-is:         TestDriver.hs

  Other-Modules:
        Tests.Instances
        Tests.Util
        Tests.Edit
        Tests.FormattedText
        Tests.Tokenize
        Tests.TextClip
        Tests.TextZipper

Executable vty-ui-collection-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         CollectionDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    vty >= 4.7.0.18,
    text,
    vty-ui
  if !flag(demos)
    Buildable: False

Executable vty-ui-list-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         ListDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    vty >= 4.7.0.18,
    text,
    vty-ui
  if !flag(demos)
    Buildable: False

Executable vty-ui-progressbar-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         ProgressBarDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    vty >= 4.7.0.18,
    text,
    vty-ui
  if !flag(demos)
    Buildable: False

Executable vty-ui-complex-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         ComplexDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    bytestring >= 0.9 && < 1.0,
    time >= 1.1 && < 1.5,
    old-locale >= 1.0 && < 1.1,
    vty >= 4.7.0.18,
    text,
    vty-ui
  if !flag(demos)
    Buildable: False

Executable vty-ui-dirbrowser-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         DirBrowserDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    vty >= 4.7.0.18,
    vty-ui
  if !flag(demos)
    Buildable: False

Executable vty-ui-phoneinput-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         PhoneInputDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    vty >= 4.7.0.18,
    text,
    vty-ui
  if !flag(demos)
    Buildable: False

Executable vty-ui-dialog-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         DialogDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    vty >= 4.7.0.18,
    text,
    vty-ui
  if !flag(demos)
    Buildable: False

Executable vty-ui-edit-demo
  Hs-Source-Dirs:  demos
  GHC-Options:     -Wall
  Main-is:         EditDemo.hs
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 2.0 && < 2.2,
    vty >= 4.7.0.18,
    vty-ui
  if !flag(demos)
    Buildable: False