packages feed

colorful-monoids-0.2.1.2: colorful-monoids.cabal

-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 4dd693235a67055e822734457a4fbe50bc4d970d104d43b5baa6c1f92ad1d6e6

name:           colorful-monoids
version:        0.2.1.2
synopsis:       Styled console text output using ANSI escape sequences.
description:    This library provides styled text output using ANSI escape sequences. The colored text is modeled as nested Colored values, which form a Monoid. As a result the colored code has a relatively concise form.
category:       Text, User Interfaces, Monad
stability:      experimental
homepage:       https://github.com/minad/colorful-monoids#readme
bug-reports:    https://github.com/minad/colorful-monoids/issues
author:         Daniel Mendler <mail@daniel-mendler.de>
maintainer:     Daniel Mendler <mail@daniel-mendler.de>
copyright:      2017-2018 Daniel Mendler
license:        MIT
license-file:   LICENSE
tested-with:    GHC == 7.10.3, GHC == 8.0.1, GHC == 8.4.2, GHC == 8.6.1
build-type:     Simple
cabal-version:  >= 1.10

source-repository head
  type: git
  location: https://github.com/minad/colorful-monoids

library
  exposed-modules:
      Data.Monoid.Colorful
      Data.Monoid.Colorful.Flat
  other-modules:
      Data.Monoid.Colorful.Color
      Data.Monoid.Colorful.Nested
      Data.Monoid.Colorful.Settings
      Data.Monoid.Colorful.SGR
      Data.Monoid.Colorful.Term
      Data.Monoid.Colorful.Trustworthy
      Paths_colorful_monoids
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.8 && <5
  if impl(ghc < 8.0)
    build-depends:
        semigroups >=0.9 && <1
  default-language: Haskell2010

test-suite example
  type: exitcode-stdio-1.0
  main-is: example.hs
  other-modules:
      Paths_colorful_monoids
  ghc-options: -Wall
  build-depends:
      base >=4.8 && <5
    , colorful-monoids
  if impl(ghc < 8.0)
    build-depends:
        semigroups >=0.9 && <1
  default-language: Haskell2010