vty/vty.cabal

545 lines
18 KiB
Plaintext
Raw Normal View History

name: vty
2013-06-02 04:57:04 +04:00
version: 5.0.0
license: BSD3
license-file: LICENSE
author: AUTHORS
maintainer: Corey O'Connor (coreyoconnor@gmail.com)
homepage: https://github.com/coreyoconnor/vty
category: User Interfaces
synopsis: A simple terminal UI library
description:
vty is terminal GUI 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.
.
Included in the source distribution is a program test/interactive_terminal_test.hs that
demonstrates the various features.
.
2013-01-28 00:37:04 +04:00
If your terminal is not behaving as expected the results of the vty-interactive-terminal-test
executable should be sent to the Vty maintainter to aid in debugging the issue.
.
Notable infelicities: Sometimes poor efficiency; Assumes UTF-8 character encoding support by the
terminal; Poor signal handling; Requires terminfo.
.
Project is hosted on github.com: https:\/\/github.com\/coreyoconnor\/vty
.
git clone git:\/\/github.com\/coreyoconnor\/vty.git
.
© 2006-2007 Stefan O'Rear; BSD3 license.
.
2013-01-28 00:37:04 +04:00
© Corey O'Connor; BSD3 license.
cabal-version: >= 1.18.0
build-type: Simple
data-files: README.md,
TODO,
AUTHORS,
CHANGELOG,
LICENSE
tested-with: GHC >= 7.6.2
library
default-language: Haskell2010
build-depends: base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
ghc-prim,
lens >= 3.9.0.2,
-- required for nice installation with yi
hashable >= 1.2,
mtl >= 1.1.1.0 && < 2.2,
parallel >= 2.2 && < 3.3,
parsec >= 2 && < 4,
terminfo >= 0.3 && < 0.4,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
exposed-modules: Graphics.Vty
Graphics.Vty.Attributes
2013-01-28 00:37:04 +04:00
Graphics.Vty.Error
Graphics.Vty.Image
Graphics.Vty.Inline
2013-07-21 07:29:07 +04:00
Graphics.Vty.Inline.Unsafe
Graphics.Vty.Input
Graphics.Vty.Input.Events
Graphics.Vty.Picture
2013-12-20 10:24:56 +04:00
Graphics.Vty.Prelude
Graphics.Vty.Output
Graphics.Text.Width
-- the modules below are only meant to be used by the tests.
Codec.Binary.UTF8.Debug
Data.Terminfo.Parse
Data.Terminfo.Eval
Data.Marshalling
Graphics.Vty.Debug
Graphics.Vty.DisplayAttributes
Graphics.Vty.Image.Internal
Graphics.Vty.Input.Internal
Graphics.Vty.Input.Terminfo
Graphics.Vty.PictureToSpans
Graphics.Vty.Span
2013-12-20 10:24:56 +04:00
Graphics.Vty.Output.Mock
Graphics.Vty.Output.Interface
Graphics.Vty.Output.MacOSX
Graphics.Vty.Output.XTermColor
Graphics.Vty.Output.TerminfoBased
other-modules: Graphics.Vty.Attributes.Color
Graphics.Vty.Attributes.Color240
Graphics.Vty.Input.Terminfo.ANSI
Graphics.Vty.Input.Terminfo.XTerm7Bit
c-sources: cbits/gwinsz.c
cbits/set_term_timing.c
cbits/mk_wcwidth.c
include-dirs: cbits
hs-source-dirs: src
default-extensions: ScopedTypeVariables
ForeignFunctionInterface
ghc-options: -O2 -funbox-strict-fields -threaded -Wall -fspec-constr -fspec-constr-count=10
ghc-prof-options: -O2 -funbox-strict-fields -threaded -caf-all -Wall -fspec-constr -fspec-constr-count=10
cc-options: -O2
test-suite verify-attribute-ops
default-language: Haskell2010
default-extensions: ScopedTypeVariables
type: detailed-0.9
hs-source-dirs: test
test-module: VerifyAttributeOps
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-using-mock-terminal
default-language: Haskell2010
default-extensions: ScopedTypeVariables
type: detailed-0.9
hs-source-dirs: test
test-module: VerifyUsingMockTerminal
other-modules: Verify
Verify.Graphics.Vty.Attributes
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Prelude
Verify.Graphics.Vty.Picture
Verify.Graphics.Vty.Image
Verify.Graphics.Vty.Span
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Output
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2013-10-13 14:01:53 +04:00
terminfo,
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-terminal
default-language: Haskell2010
default-extensions: ScopedTypeVariables
type: detailed-0.9
hs-source-dirs: test
2013-12-20 10:24:56 +04:00
test-module: VerifyOutput
other-modules: Verify
Verify.Graphics.Vty.Attributes
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Prelude
Verify.Graphics.Vty.Picture
Verify.Graphics.Vty.Image
Verify.Graphics.Vty.Span
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Output
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
terminfo >= 0.3 && < 0.4,
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-display-attributes
default-language: Haskell2010
default-extensions: ScopedTypeVariables
type: detailed-0.9
hs-source-dirs: test
test-module: VerifyDisplayAttributes
other-modules: Verify
Verify.Graphics.Vty.Attributes
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Prelude
Verify.Graphics.Vty.Picture
Verify.Graphics.Vty.Image
Verify.Graphics.Vty.Span
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
2012-10-10 07:58:00 +04:00
test-suite verify-empty-image-props
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyEmptyImageProps
other-modules: Verify
2012-10-10 07:58:00 +04:00
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-eval-terminfo-caps
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyEvalTerminfoCaps
other-modules: Verify
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Output
2012-10-10 07:58:00 +04:00
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
terminfo >= 0.3 && < 0.4,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-image-ops
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyImageOps
other-modules: Verify
2012-10-10 07:58:00 +04:00
Verify.Graphics.Vty.Attributes
Verify.Graphics.Vty.Image
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-image-trans
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyImageTrans
other-modules: Verify
2012-10-10 07:58:00 +04:00
Verify.Graphics.Vty.Attributes
Verify.Graphics.Vty.Image
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-inline
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyInline
other-modules: Verify
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Output
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-parse-terminfo-caps
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyParseTerminfoCaps
other-modules: Verify
2012-10-10 07:58:00 +04:00
Verify.Data.Terminfo.Parse
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Output
2012-10-10 07:58:00 +04:00
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
terminfo >= 0.3 && < 0.4,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-simple-span-generation
2012-10-10 07:58:00 +04:00
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifySimpleSpanGeneration
2012-10-10 07:58:00 +04:00
other-modules: Verify
Verify.Graphics.Vty.Attributes
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Prelude
Verify.Graphics.Vty.Picture
Verify.Graphics.Vty.Image
Verify.Graphics.Vty.Span
2012-10-10 07:58:00 +04:00
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
2013-08-30 04:00:07 +04:00
test-suite verify-crop-span-generation
2012-10-10 07:58:00 +04:00
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyCropSpanGeneration
2012-10-10 07:58:00 +04:00
other-modules: Verify
2012-10-10 07:58:00 +04:00
Verify.Graphics.Vty.Attributes
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Prelude
2012-10-10 07:58:00 +04:00
Verify.Graphics.Vty.Picture
Verify.Graphics.Vty.Image
Verify.Graphics.Vty.Span
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
2013-08-30 04:00:07 +04:00
2012-10-10 07:58:00 +04:00
test-suite verify-layers-span-generation
2012-10-10 07:58:00 +04:00
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyLayersSpanGeneration
2012-10-10 07:58:00 +04:00
other-modules: Verify
2012-10-10 07:58:00 +04:00
Verify.Graphics.Vty.Attributes
2013-12-20 10:24:56 +04:00
Verify.Graphics.Vty.Prelude
2012-10-10 07:58:00 +04:00
Verify.Graphics.Vty.Picture
Verify.Graphics.Vty.Image
Verify.Graphics.Vty.Span
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-utf8-width
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2012-10-10 07:58:00 +04:00
type: detailed-0.9
hs-source-dirs: test
2012-10-10 07:58:00 +04:00
test-module: VerifyUtf8Width
other-modules: Verify
2012-10-10 07:58:00 +04:00
build-depends: vty,
2013-08-30 04:00:07 +04:00
Cabal == 1.18.*,
QuickCheck >= 2.4,
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
test-suite verify-using-mock-input
default-language: Haskell2010
default-extensions: ScopedTypeVariables
2013-08-30 04:00:07 +04:00
type: exitcode-stdio-1.0
2013-08-30 04:00:07 +04:00
hs-source-dirs: test
main-is: VerifyUsingMockInput.hs
2013-08-30 04:00:07 +04:00
build-depends: vty,
Cabal == 1.18.*,
QuickCheck >= 2.4,
smallcheck == 1.*,
quickcheck-assertions >= 0.1.1,
test-framework == 0.8.*,
test-framework-smallcheck == 0.2.*,
2012-10-10 07:58:00 +04:00
random == 1.0.*,
base >= 4 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.4,
mtl >= 1.1.1.0 && < 2.2,
terminfo >= 0.3 && < 0.4,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
2012-10-10 07:58:00 +04:00
unix,
utf8-string >= 0.3 && < 0.4,
vector >= 0.7
ghc-options: -threaded -Wall
2012-10-10 07:58:00 +04:00