File: text-ansi.cabal

package info (click to toggle)
haskell-text-ansi 0.3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 96 kB
  • sloc: haskell: 978; makefile: 4
file content (59 lines) | stat: -rw-r--r-- 1,760 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
cabal-version: 2.2

name: text-ansi
version: 0.3.0.1
category: Data
synopsis: Text styling for ANSI terminals.
description:
  Text styling for ANSI terminals using SGR codes, as defined by the
  <https://www.ecma-international.org/publications-and-standards/standards/ecma-48 ECMA-48>
  standard.
  .
  Supports foreground\/background color, bold\/faint intensity, italic,
  single\/double underline, strikethrough, frame, encircle, and overline escape
  sequences. Some styles may not work on your terminal.
  .
  Also features terminal detection, so redirecting styled output to a file will
  automatically strip the ANSI escape sequences.
author: Mitchell Rosen, Travis Staton
maintainer: Mitchell Rosen <mitchellwrosen@gmail.com>, Travis Staton <hello@travisstaton.com>
homepage: https://github.com/awkward-squad/text-ansi
bug-reports: https://github.com/awkward-squad/text-ansi/issues
copyright: (c) 2018-2023 Mitchell Rosen, Travis Staton
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
tested-with: GHC == 9.4.7, GHC == 9.6.3, GHC == 9.8.1

extra-source-files:
  CHANGELOG.md
  README.md

source-repository head
  type: git
  location: git://github.com/awkward-squad/text-ansi.git

library
  build-depends:
    base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19,
    text >= 1.0 && < 2.2,
    text-builder-linear ^>= 0.1.1,
  default-language:
    Haskell2010
  exposed-modules:
    String.ANSI
    Text.ANSI
    Text.Builder.ANSI
    Text.Lazy.Builder.ANSI
  ghc-options:
    -Weverything
    -Wno-implicit-prelude
    -Wno-missing-import-lists
    -Wno-missing-local-signatures
    -Wno-unsafe
  if impl(ghc >= 8.10)
    ghc-options:
      -Wno-missing-safe-haskell-mode
      -Wno-prepositive-qualified-module
  hs-source-dirs:
    src