packages feed

strip-ansi-escape-0.1.0.1: strip-ansi-escape.cabal

name:                strip-ansi-escape
version:             0.1.0.1
synopsis:            Strip ANSI escape code from string.
description:         Strip ANSI escape code from string. Haskell port of https://github.com/chalk/strip-ansi.
homepage:            https://gitlab.com/igrep/haskell-strip-ansi-escape#readme
license:             Apache-2.0
license-file:        LICENSE
author:              YAMAMOTO Yuji
maintainer:          whosekiteneverfly@gmail.com
copyright:           2019 YAMAMOTO Yuji
category:            Text
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Data.String.AnsiEscapeCodes.Strip.Text
                     , Data.String.AnsiEscapeCodes.Strip.Text.Lazy
                     , Data.String.AnsiEscapeCodes.Strip.Internal
  build-depends:       base >= 4.7 && < 5
                     , attoparsec
                     , text
  default-language:    Haskell2010

test-suite strip-ansi-escape-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       Data.String.StripSpec
                     , Data.String.StripSpec.Table
  build-depends:       base
                     , strip-ansi-escape
                     , QuickCheck
                     , hspec
                     , text
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://gitlab.com/igrep/haskell-strip-ansi-escape