File: vty-unix.cabal

package info (click to toggle)
haskell-vty-unix 0.2.0.0-2
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 204 kB
  • sloc: haskell: 1,748; ansic: 30; makefile: 5
file content (79 lines) | stat: -rw-r--r-- 2,932 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
cabal-version:      3.0
name:               vty-unix
version:            0.2.0.0
synopsis:           Unix backend for Vty
description:        This package provides Unix terminal support for Vty.
license:            BSD-3-Clause
license-file:       LICENSE
author:             Jonathan Daugherty
maintainer:         cygnus@foobox.com
category:           User Interfaces
copyright:          (c) 2023 Jonathan Daugherty
build-type:         Simple
extra-doc-files:    CHANGELOG.md
extra-source-files: cbits/gwinsz.h
                    cbits/gwinsz.c
                    cbits/set_term_timing.c

source-repository head
  type: git
  location: https://github.com/jtdaugherty/vty-unix.git

common warnings
    ghc-options: -Wall

library
    import:           warnings
    hs-source-dirs:   src
    default-language: Haskell2010
    includes:         cbits/gwinsz.h
    c-sources:        cbits/set_term_timing.c
                      cbits/gwinsz.c
    exposed-modules:  Data.Terminfo.Eval
                      Data.Terminfo.Parse
                      Graphics.Vty.Platform.Unix
                      Graphics.Vty.Platform.Unix.Input
                      Graphics.Vty.Platform.Unix.Input.Classify
                      Graphics.Vty.Platform.Unix.Input.Classify.Parse
                      Graphics.Vty.Platform.Unix.Input.Classify.Types
                      Graphics.Vty.Platform.Unix.Input.Focus
                      Graphics.Vty.Platform.Unix.Input.Loop
                      Graphics.Vty.Platform.Unix.Input.Mouse
                      Graphics.Vty.Platform.Unix.Input.Paste
                      Graphics.Vty.Platform.Unix.Input.Terminfo
                      Graphics.Vty.Platform.Unix.Input.Terminfo.ANSIVT
                      Graphics.Vty.Platform.Unix.Output
                      Graphics.Vty.Platform.Unix.Output.Color
                      Graphics.Vty.Platform.Unix.Output.TerminfoBased
                      Graphics.Vty.Platform.Unix.Output.XTermColor
                      Graphics.Vty.Platform.Unix.Settings
    build-depends:    base >= 4.8 && < 5,
                      blaze-builder,
                      bytestring,
                      mtl,
                      unix,
                      terminfo,
                      vty >= 6.1,
                      deepseq,
                      vector,
                      parsec,
                      containers,
                      utf8-string,
                      transformers,
                      stm,
                      microlens,
                      microlens-mtl,
                      microlens-th

executable vty-unix-build-width-table
  main-is:             BuildWidthTable.hs
  hs-source-dirs:      tools
  default-language:    Haskell2010
  ghc-options:         -threaded -Wall

  if !impl(ghc >= 8.0)
    build-depends:     semigroups >= 0.16

  build-depends:       base,
                       vty,
                       ansi-terminal