Blame ansi-terminal.cabal

Packit fc89b4
Name:                ansi-terminal
Packit fc89b4
Version:             0.7.1.1
Packit fc89b4
Cabal-Version:       >= 1.6
Packit fc89b4
Category:            User Interfaces
Packit fc89b4
Synopsis:            Simple ANSI terminal support, with Windows compatibility
Packit fc89b4
Description:         ANSI terminal support for Haskell: allows cursor movement,
Packit fc89b4
                     screen clearing, color output, showing or hiding the
Packit fc89b4
                     cursor, and changing the title. Works on UNIX and Windows.
Packit fc89b4
License:             BSD3
Packit fc89b4
License-File:        LICENSE
Packit fc89b4
Author:              Max Bolingbroke
Packit fc89b4
Maintainer:          Roman Cheplyaka <roma@ro-che.info>
Packit fc89b4
Homepage:            https://github.com/feuerbach/ansi-terminal
Packit fc89b4
Build-Type:          Simple
Packit fc89b4
Packit fc89b4
Extra-Source-Files:     includes/Common-Include.hs
Packit fc89b4
                        includes/Common-Include-Emulator.hs
Packit fc89b4
                        includes/Common-Include-Enabled.hs
Packit fc89b4
                        includes/Exports-Include.hs
Packit fc89b4
                        CHANGELOG.md
Packit fc89b4
                        README.md
Packit fc89b4
Packit fc89b4
Source-repository head
Packit fc89b4
  type:     git
Packit fc89b4
  location: git://github.com/feuerbach/ansi-terminal.git
Packit fc89b4
Packit fc89b4
Flag Example
Packit fc89b4
        Description:    Build the example application
Packit fc89b4
        Default:        False
Packit fc89b4
Packit fc89b4
Library
Packit fc89b4
        Exposed-Modules:        System.Console.ANSI
Packit fc89b4
                                System.Console.ANSI.Types
Packit fc89b4
                                System.Console.ANSI.Codes
Packit fc89b4
Packit fc89b4
        Include-Dirs:           includes
Packit fc89b4
Packit fc89b4
        Build-Depends:          base >= 4 && < 5
Packit fc89b4
                              , colour
Packit fc89b4
        if os(windows)
Packit fc89b4
                Build-Depends:          base-compat >= 0.9.1
Packit fc89b4
                                      , containers
Packit fc89b4
                                      , Win32 >= 2.0
Packit fc89b4
                                      , process
Packit fc89b4
                Cpp-Options:            -DWINDOWS
Packit fc89b4
                Other-Modules:          System.Console.ANSI.Windows
Packit fc89b4
                                        System.Console.ANSI.Windows.Detect
Packit fc89b4
                                        System.Console.ANSI.Windows.Emulator
Packit fc89b4
                                        System.Console.ANSI.Windows.Emulator.Codes
Packit fc89b4
                                        System.Console.ANSI.Windows.Foreign
Packit fc89b4
                                        -- NB: used for fallback by the emulator
Packit fc89b4
                                        System.Console.ANSI.Unix
Packit fc89b4
        else
Packit fc89b4
                -- We assume any non-Windows platform is Unix
Packit fc89b4
                Cpp-Options:            -DUNIX
Packit fc89b4
                Other-Modules:          System.Console.ANSI.Unix
Packit fc89b4
Packit fc89b4
        Extensions:             CPP
Packit fc89b4
                                ForeignFunctionInterface
Packit fc89b4
Packit fc89b4
        Ghc-Options:                    -Wall
Packit fc89b4
Packit fc89b4
Executable ansi-terminal-example
Packit fc89b4
        Main-Is:                System/Console/ANSI/Example.hs
Packit fc89b4
Packit fc89b4
        Include-Dirs:           includes
Packit fc89b4
Packit fc89b4
        Other-Modules:          System.Console.ANSI
Packit fc89b4
                                System.Console.ANSI.Codes
Packit fc89b4
                                System.Console.ANSI.Types
Packit fc89b4
                                System.Console.ANSI.Unix
Packit fc89b4
Packit fc89b4
        if os(windows)
Packit fc89b4
                Build-Depends:          base-compat >= 0.9.1
Packit fc89b4
                                      , containers
Packit fc89b4
                                      , Win32 >= 2.0
Packit fc89b4
                Cpp-Options:            -DWINDOWS
Packit fc89b4
                Other-Modules:          System.Console.ANSI.Windows
Packit fc89b4
                                        System.Console.ANSI.Windows.Detect
Packit fc89b4
                                        System.Console.ANSI.Windows.Emulator
Packit fc89b4
                                        System.Console.ANSI.Windows.Emulator.Codes
Packit fc89b4
                                        System.Console.ANSI.Windows.Foreign
Packit fc89b4
        else
Packit fc89b4
                -- We assume any non-Windows platform is Unix
Packit fc89b4
                Cpp-Options:            -DUNIX
Packit fc89b4
Packit fc89b4
        Build-Depends:          base >= 4 && < 5
Packit fc89b4
        Extensions:             CPP
Packit fc89b4
                                ForeignFunctionInterface
Packit fc89b4
Packit fc89b4
        Ghc-Options:            -Wall
Packit fc89b4
Packit fc89b4
        if !flag(example)
Packit fc89b4
                Buildable:              False