brick/brick.cabal

460 lines
14 KiB
Plaintext
Raw Normal View History

2015-05-09 09:09:40 +03:00
name: brick
2019-03-19 18:30:11 +03:00
version: 0.47
2015-08-07 05:25:11 +03:00
synopsis: A declarative terminal user interface library
description:
Write terminal applications painlessly with 'brick'! You write an
event handler and a drawing function and the library does the rest.
.
.
> module Main where
>
> import Brick
>
> ui :: Widget ()
> ui = str "Hello, world!"
>
> main :: IO ()
> main = simpleMain ui
.
.
To get started, see:
.
2015-08-07 05:25:11 +03:00
* <https://github.com/jtdaugherty/brick/blob/master/README.md The README>
.
* The <https://github.com/jtdaugherty/brick/blob/master/docs/guide.rst Brick user guide>
.
* The demonstration programs in the 'programs' directory
2015-08-09 07:19:38 +03:00
.
.
This package deprecates <http://hackage.haskell.org/package/vty-ui vty-ui>.
2015-05-09 09:09:40 +03:00
license: BSD3
license-file: LICENSE
2015-05-19 05:37:11 +03:00
author: Jonathan Daugherty <cygnus@foobox.com>
maintainer: Jonathan Daugherty <cygnus@foobox.com>
2017-12-28 00:48:07 +03:00
copyright: (c) Jonathan Daugherty 2015-2018
2015-05-09 09:09:40 +03:00
category: Graphics
build-type: Simple
2018-03-26 03:27:25 +03:00
cabal-version: 1.18
2015-08-07 05:25:11 +03:00
Homepage: https://github.com/jtdaugherty/brick/
Bug-reports: https://github.com/jtdaugherty/brick/issues
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
extra-doc-files: README.md,
docs/guide.rst,
docs/samtay-tutorial.md,
docs/snake-demo.gif,
CHANGELOG.md
2015-07-08 08:28:51 +03:00
Source-Repository head
type: git
location: git://github.com/jtdaugherty/brick.git
2015-05-09 09:09:40 +03:00
Flag demos
Description: Build demonstration programs
Default: False
2015-05-09 09:09:40 +03:00
library
default-language: Haskell2010
2015-05-19 05:36:35 +03:00
ghc-options: -Wall -fno-warn-unused-do-bind -O3
default-extensions: CPP
2015-05-09 09:09:40 +03:00
hs-source-dirs: src
2015-05-18 04:04:36 +03:00
exposed-modules:
Brick
2015-07-08 05:44:07 +03:00
Brick.AttrMap
Brick.BChan
Brick.BorderMap
2015-07-08 05:44:07 +03:00
Brick.Focus
Brick.Forms
2015-07-08 05:44:07 +03:00
Brick.Main
Brick.Markup
2017-10-30 05:24:09 +03:00
Brick.Themes
2015-07-08 05:44:07 +03:00
Brick.Types
Brick.Util
2015-06-25 06:58:34 +03:00
Brick.Widgets.Border
Brick.Widgets.Border.Style
Brick.Widgets.Center
Brick.Widgets.Core
2015-07-09 00:47:39 +03:00
Brick.Widgets.Dialog
2015-06-25 06:58:34 +03:00
Brick.Widgets.Edit
Brick.Widgets.FileBrowser
2015-06-25 06:58:34 +03:00
Brick.Widgets.List
2015-07-13 03:47:24 +03:00
Brick.Widgets.ProgressBar
2018-03-18 18:24:52 +03:00
Data.IMap
Data.Text.Markup
other-modules:
Brick.Types.Common
Brick.Types.TH
Brick.Types.Internal
2015-06-25 06:54:32 +03:00
Brick.Widgets.Internal
2015-05-18 04:04:36 +03:00
build-depends: base <= 4.12.0.0,
2018-09-06 22:36:49 +03:00
vty >= 5.24,
transformers,
data-clist >= 0.1,
directory >= 1.2.5.0,
dlist,
filepath,
containers >= 0.5.7,
microlens >= 0.3.0.0,
microlens-th,
microlens-mtl,
config-ini,
vector,
contravariant,
stm >= 2.4,
text,
text-zipper >= 0.7.1,
template-haskell,
deepseq >= 1.3 && < 1.5,
unix,
2017-08-04 07:06:45 +03:00
word-wrap >= 0.2
if impl(ghc < 8.0)
build-depends: semigroups
2015-05-09 09:09:40 +03:00
executable brick-readme-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
default-extensions: CPP
main-is: ReadmeDemo.hs
build-depends: base,
brick,
text
executable brick-file-browser-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
default-extensions: CPP
main-is: FileBrowserDemo.hs
build-depends: base,
vty,
brick,
text
executable brick-form-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
default-extensions: CPP
main-is: FormDemo.hs
build-depends: base,
brick,
text,
microlens,
microlens-th,
vty
executable brick-text-wrap-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
default-extensions: CPP
main-is: TextWrapDemo.hs
build-depends: base,
brick,
text,
word-wrap
2016-09-21 07:15:25 +03:00
executable brick-cache-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
default-extensions: CPP
main-is: CacheDemo.hs
build-depends: base,
brick,
vty,
2016-09-21 07:15:25 +03:00
text,
microlens >= 0.3.0.0,
microlens-th
executable brick-visibility-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: VisibilityDemo.hs
build-depends: base,
brick,
vty,
text,
microlens >= 0.3.0.0,
microlens-th
2015-07-09 21:03:48 +03:00
executable brick-viewport-scroll-demo
if !flag(demos)
Buildable: False
2015-07-09 21:03:48 +03:00
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
default-extensions: CPP
2015-07-09 21:03:48 +03:00
main-is: ViewportScrollDemo.hs
build-depends: base,
brick,
vty,
2015-07-09 21:03:48 +03:00
text,
microlens
2015-07-09 21:03:48 +03:00
2015-07-09 00:47:39 +03:00
executable brick-dialog-demo
if !flag(demos)
Buildable: False
2015-07-09 00:47:39 +03:00
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: DialogDemo.hs
build-depends: base,
2015-07-09 00:47:39 +03:00
brick,
vty,
2015-07-09 00:47:39 +03:00
text,
microlens
2015-07-09 00:47:39 +03:00
2016-07-01 05:10:44 +03:00
executable brick-mouse-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: MouseDemo.hs
build-depends: base,
2016-07-01 05:10:44 +03:00
brick,
vty,
2016-07-01 05:10:44 +03:00
text,
microlens >= 0.3.0.0,
microlens-th,
text-zipper
2016-07-01 05:10:44 +03:00
2015-07-04 01:49:33 +03:00
executable brick-layer-demo
if !flag(demos)
Buildable: False
2015-07-04 01:49:33 +03:00
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: LayerDemo.hs
build-depends: base,
2015-07-04 01:49:33 +03:00
brick,
vty,
2015-07-04 01:49:33 +03:00
text,
microlens >= 0.3.0.0,
microlens-th
2015-07-04 01:49:33 +03:00
2015-06-29 09:45:04 +03:00
executable brick-suspend-resume-demo
if !flag(demos)
Buildable: False
2015-06-29 09:45:04 +03:00
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
2015-06-29 09:45:04 +03:00
default-language: Haskell2010
main-is: SuspendAndResumeDemo.hs
build-depends: base,
2015-06-29 09:45:04 +03:00
brick,
vty,
2015-06-29 09:45:04 +03:00
text,
microlens >= 0.3.0.0,
microlens-th
2015-06-29 09:45:04 +03:00
executable brick-padding-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: PaddingDemo.hs
build-depends: base,
brick,
vty,
text,
microlens
2017-11-05 22:19:42 +03:00
executable brick-theme-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: ThemeDemo.hs
build-depends: base,
2017-11-05 22:19:42 +03:00
brick,
vty,
2017-11-05 22:19:42 +03:00
text,
microlens
2015-06-29 08:40:25 +03:00
executable brick-attr-demo
if !flag(demos)
Buildable: False
2015-06-29 08:40:25 +03:00
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
2015-06-29 08:40:25 +03:00
default-language: Haskell2010
main-is: AttrDemo.hs
build-depends: base,
2015-06-29 08:40:25 +03:00
brick,
vty,
2015-06-29 08:40:25 +03:00
text,
microlens
2015-06-29 08:40:25 +03:00
2015-06-29 06:16:51 +03:00
executable brick-markup-demo
if !flag(demos)
Buildable: False
2015-06-29 06:16:51 +03:00
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
2015-06-29 06:16:51 +03:00
default-language: Haskell2010
main-is: MarkupDemo.hs
build-depends: base,
2015-06-29 06:16:51 +03:00
brick,
vty,
2015-06-29 06:16:51 +03:00
text,
microlens
2015-06-29 06:16:51 +03:00
2015-06-28 23:06:22 +03:00
executable brick-list-demo
if !flag(demos)
Buildable: False
2015-06-28 23:06:22 +03:00
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
2015-06-28 23:06:22 +03:00
default-language: Haskell2010
main-is: ListDemo.hs
build-depends: base,
2015-06-28 23:06:22 +03:00
brick,
vty,
2015-06-28 23:06:22 +03:00
text,
microlens >= 0.3.0.0,
vector
2015-06-28 23:06:22 +03:00
executable brick-list-vi-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: ListViDemo.hs
build-depends: base,
brick,
vty,
text,
microlens >= 0.3.0.0,
vector
2015-06-29 08:43:52 +03:00
executable brick-custom-event-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
2015-06-29 08:43:52 +03:00
main-is: CustomEventDemo.hs
build-depends: base,
brick,
vty,
text,
microlens >= 0.3.0.0,
microlens-th
2017-08-03 01:55:09 +03:00
executable brick-fill-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: FillDemo.hs
build-depends: base,
2017-08-03 01:55:09 +03:00
brick,
vty,
2017-08-03 01:55:09 +03:00
text,
microlens
executable brick-hello-world-demo
if !flag(demos)
Buildable: False
2015-05-19 20:23:58 +03:00
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
2015-05-19 20:23:58 +03:00
default-language: Haskell2010
main-is: HelloWorldDemo.hs
build-depends: base,
2015-05-19 20:23:58 +03:00
brick,
vty,
text,
microlens
2015-05-19 20:23:58 +03:00
2015-06-28 22:45:26 +03:00
executable brick-edit-demo
if !flag(demos)
Buildable: False
2015-06-28 22:45:26 +03:00
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
2015-06-28 22:45:26 +03:00
default-language: Haskell2010
main-is: EditDemo.hs
build-depends: base,
2015-06-28 22:45:26 +03:00
brick,
vty,
2015-06-28 22:45:26 +03:00
text,
vector,
microlens >= 0.3.0.0,
microlens-th
2015-06-28 22:45:26 +03:00
2015-06-28 22:15:55 +03:00
executable brick-border-demo
if !flag(demos)
Buildable: False
2015-06-28 22:15:55 +03:00
hs-source-dirs: programs
2015-07-04 01:48:46 +03:00
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-extensions: CPP
2015-06-28 22:15:55 +03:00
default-language: Haskell2010
main-is: BorderDemo.hs
build-depends: base,
2015-06-28 22:15:55 +03:00
brick,
vty,
2015-06-28 22:15:55 +03:00
text,
microlens
2018-03-18 18:24:52 +03:00
executable brick-dynamic-border-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-extensions: CPP
default-language: Haskell2010
main-is: DynamicBorderDemo.hs
build-depends: base <= 5,
brick,
vty,
2018-03-18 18:24:52 +03:00
text,
microlens
executable brick-progressbar-demo
if !flag(demos)
Buildable: False
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-extensions: CPP
default-language: Haskell2010
main-is: ProgressBarDemo.hs
build-depends: base,
brick,
vty,
text,
microlens
2018-03-18 18:24:52 +03:00
test-suite brick-tests
type: exitcode-stdio-1.0
hs-source-dirs: tests
2018-03-26 03:27:25 +03:00
ghc-options: -Wall -O2
if impl(ghc >= 8)
ghc-options: -Wno-orphans
default-language: Haskell2010
2018-03-18 18:24:52 +03:00
main-is: Main.hs
other-modules: List
2018-03-18 18:24:52 +03:00
build-depends: base <=5,
brick,
containers,
microlens,
vector,
2018-03-18 18:24:52 +03:00
QuickCheck
if impl(ghc < 8.0)
build-depends: semigroups