vty/vty.cabal

622 lines
20 KiB
Plaintext
Raw Normal View History

name: vty
2020-02-27 21:57:05 +03:00
version: 5.27
license: BSD3
license-file: LICENSE
author: AUTHORS
2016-09-04 18:56:55 +03:00
maintainer: Jonathan Daugherty (cygnus@foobox.com)
homepage: https://github.com/jtdaugherty/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.
.
2017-01-22 23:17:38 +03:00
See the @vty-examples@ package as well as the program
@test/interactive_terminal_test.hs@ included in the @vty@ package for
examples on how to use the library.
.
2017-01-22 23:17:38 +03:00
Import the "Graphics.Vty" convenience module to get access to the core
parts of the library.
.
© 2006-2007 Stefan O'Rear; BSD3 license.
.
2013-01-28 00:37:04 +04:00
© Corey O'Connor; BSD3 license.
.
© Jonathan Daugherty; BSD3 license.
2018-07-29 19:44:48 +03:00
cabal-version: 1.18
build-type: Simple
2017-03-01 02:24:15 +03:00
extra-doc-files: README.md,
AUTHORS,
2017-01-22 07:13:46 +03:00
CHANGELOG.md,
LICENSE
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.5
source-repository head
type: git
location: https://github.com/jtdaugherty/vty.git
library
default-language: Haskell2010
build-depends: base >= 4.8 && < 5,
blaze-builder >= 0.3.3.2 && < 0.5,
bytestring,
containers,
2015-01-02 12:39:11 +03:00
deepseq >= 1.1 && < 1.5,
directory,
filepath >= 1.0 && < 2.0,
2019-06-20 08:52:10 +03:00
microlens < 0.4.12,
microlens-mtl,
microlens-th,
hashable >= 1.2,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
parallel >= 2.2 && < 3.3,
parsec >= 2 && < 4,
stm,
2014-04-08 03:38:49 +04:00
terminfo >= 0.3 && < 0.5,
2014-01-21 15:50:57 +04:00
transformers >= 0.3.0.0,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 1.1,
vector >= 0.7,
binary,
ansi-terminal >= 0.10.3
2018-02-05 00:30:29 +03:00
if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.16,
fail
2018-02-05 00:30:29 +03:00
exposed-modules: Graphics.Vty
Graphics.Vty.Attributes
Graphics.Vty.Attributes.Color
Graphics.Vty.Config
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.Output
Graphics.Text.Width
Codec.Binary.UTF8.Debug
Data.Terminfo.Parse
Data.Terminfo.Eval
Graphics.Vty.Debug
Graphics.Vty.DisplayAttributes
Graphics.Vty.Image.Internal
Graphics.Vty.Input.Classify
Graphics.Vty.Input.Classify.Types
Graphics.Vty.Input.Classify.Parse
Graphics.Vty.Input.Loop
Graphics.Vty.Input.Mouse
2017-08-07 23:17:28 +03:00
Graphics.Vty.Input.Focus
Graphics.Vty.Input.Paste
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.XTermColor
Graphics.Vty.Output.TerminfoBased
Graphics.Vty.UnicodeWidthTable.Types
Graphics.Vty.UnicodeWidthTable.IO
Graphics.Vty.UnicodeWidthTable.Query
Graphics.Vty.UnicodeWidthTable.Install
other-modules: Graphics.Vty.Attributes.Color240
2014-06-05 11:38:28 +04:00
Graphics.Vty.Debug.Image
Graphics.Vty.Input.Terminfo.ANSIVT
c-sources: cbits/gwinsz.c
cbits/set_term_timing.c
cbits/get_tty_erase.c
cbits/mk_wcwidth.c
include-dirs: cbits
hs-source-dirs: src
default-extensions: ScopedTypeVariables
ForeignFunctionInterface
ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
executable vty-build-width-table
main-is: BuildWidthTable.hs
hs-source-dirs: tools
default-language: Haskell2010
ghc-options: -threaded -Wall
build-depends: vty,
base >= 4.8 && < 5
executable vty-mode-demo
main-is: ModeDemo.hs
2017-01-22 06:36:37 +03:00
hs-source-dirs: demos
default-language: Haskell2010
default-extensions: ScopedTypeVariables
ghc-options: -threaded
build-depends: vty,
base >= 4.8 && < 5,
containers,
microlens,
microlens-mtl,
mtl >= 1.1.1.0 && < 2.3
2014-05-04 03:33:56 +04:00
executable vty-demo
main-is: Demo.hs
2017-01-22 06:36:37 +03:00
hs-source-dirs: demos
2014-05-04 03:33:56 +04:00
default-language: Haskell2010
default-extensions: ScopedTypeVariables
ghc-options: -threaded
build-depends: vty,
base >= 4.8 && < 5,
2014-05-04 03:33:56 +04:00
containers,
microlens,
microlens-mtl,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3
2014-05-04 03:33:56 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
terminfo >= 0.3 && < 0.5,
unix,
utf8-string >= 0.3 && < 1.1,
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
terminfo >= 0.3 && < 0.5,
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 1.1,
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
Verify.Graphics.Vty.DisplayAttributes
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
2013-05-20 01:48:14 +04:00
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 1.1,
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
blaze-builder >= 0.3.3.2 && < 0.5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
terminfo >= 0.3 && < 0.5,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
terminfo >= 0.3 && < 0.5,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
vector >= 0.7
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
vector >= 0.7
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
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,
Cabal >= 1.20,
QuickCheck >= 2.7,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2013-08-30 04:00:07 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
2013-08-30 04:00:07 +04:00
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 1.1,
2013-08-30 04:00:07 +04:00
vector >= 0.7
2013-08-30 04:00:07 +04:00
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.20,
QuickCheck >= 2.7,
smallcheck == 1.*,
quickcheck-assertions >= 0.1.1,
test-framework == 0.8.*,
test-framework-smallcheck == 0.2.*,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
2012-10-10 07:58:00 +04:00
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
microlens,
microlens-mtl,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
stm,
terminfo >= 0.3 && < 0.5,
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 && < 1.1,
2012-10-10 07:58:00 +04:00
vector >= 0.7
ghc-options: -threaded -Wall
2012-10-10 07:58:00 +04:00
test-suite verify-config
default-language: Haskell2010
default-extensions: ScopedTypeVariables
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: VerifyConfig.hs
build-depends: vty,
Cabal >= 1.20,
HUnit,
QuickCheck >= 2.7,
smallcheck == 1.*,
quickcheck-assertions >= 0.1.1,
test-framework == 0.8.*,
test-framework-smallcheck == 0.2.*,
test-framework-hunit,
2014-10-29 22:29:52 +03:00
random >= 1.0 && < 1.2,
base >= 4.8 && < 5,
bytestring,
containers,
deepseq >= 1.1 && < 1.5,
microlens,
microlens-mtl,
2014-07-27 23:13:13 +04:00
mtl >= 1.1.1.0 && < 2.3,
string-qq,
terminfo >= 0.3 && < 0.5,
text >= 0.11.3,
unix,
utf8-string >= 0.3 && < 1.1,
vector >= 0.7
ghc-options: -threaded -Wall