File: ansi-terminal.cabal

package info (click to toggle)
haskell-ansi-terminal 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: haskell: 1,523; ansic: 60; makefile: 2
file content (73 lines) | stat: -rw-r--r-- 2,897 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
Cabal-Version:       1.22
Name:                ansi-terminal
Version:             1.0.2
Category:            User Interfaces
Synopsis:            Simple ANSI terminal support
Description:         ANSI terminal support for Haskell: allows cursor movement,
                     screen clearing, color output, showing or hiding the
                     cursor, and changing the title. Works on UNIX and Windows.
License:             BSD3
License-File:        LICENSE
Author:              Max Bolingbroke
Maintainer:          Mike Pilgrem <public@pilgrem.com>, Roman Cheplyaka <roma@ro-che.info>
Homepage:            https://github.com/UnkindPartition/ansi-terminal
Build-Type:          Simple

Extra-Source-Files:     CHANGELOG.md
                        README.md
                        win/include/errors.h
                        win/include/HsWin32.h
                        win/include/winternl_compat.h

Source-repository head
  type:     git
  location: git://github.com/UnkindPartition/ansi-terminal.git

Flag Example
        Description:    Build the example application
        Default:        False

Library
        Hs-Source-Dirs:         src
        Exposed-Modules:        System.Console.ANSI
                                System.Console.ANSI.Codes

        -- We re-export all of ansi-terminal-types to aid compatibility for
        -- downstream users.
        Reexported-Modules:     System.Console.ANSI.Types

        Other-Modules:          System.Console.ANSI.Internal

        Build-Depends:          base >= 4.8.0.0 && < 5
                              , ansi-terminal-types == 0.11.5
                              , colour >= 2.1.0
        if os(windows)
            Hs-Source-Dirs:     win
            Other-Modules:      System.Console.ANSI.Windows.Foreign
                                System.Console.ANSI.Windows.Win32.Types
                                System.Console.ANSI.Windows.Win32.MinTTY
            Include-Dirs:       win/include
            Includes:           errors.h
                                HsWin32.h
                                winternl_compat.h
            Install-Includes:   HsWin32.h
            C-Sources:          win/c-source/errors.c
                                win/c-source/HsWin32.c
        else
            Hs-Source-Dirs:     unix

        Default-Extensions:     CPP

        Ghc-Options:            -Wall
        Default-Language:       Haskell2010

Executable ansi-terminal-example
        Hs-Source-Dirs:         app
        Main-Is:                Example.hs
        Build-Depends:          base >= 4.8.0.0 && < 5
                              , ansi-terminal
                              , colour
        Ghc-Options:            -Wall
        if !flag(example)
            Buildable:          False
        Default-Language:       Haskell2010