File show-prettyprint.cabal of Package ghc-show-prettyprint

name:                show-prettyprint
version:             0.2
x-revision: 1
synopsis:            Robust prettyprinter for output of auto-generated Show
                     instances
description:         See README.md
homepage:            https://github.com/quchen/show-prettyprint#readme
license:             BSD3
license-file:        LICENSE.md
author:              David Luposchainsky <dluposchainsky (λ) google>
maintainer:          David Luposchainsky <dluposchainsky (λ) google>
copyright:           David Luposchainsky, 2016
category:            User Interfaces, Text
build-type:          Simple
extra-source-files:  README.md
                   , CHANGELOG.md
                   , .stylish-haskell.yaml
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Text.Show.Prettyprint
                     , Text.Show.Prettyprint.Diagnostic
                     , Text.Show.Prettyprint.Internal
  build-depends:       base >= 4.7 && < 5
                     , trifecta >= 1.6
                     , prettyprinter < 1.2

                     -- Transitive dep of Trifecta, figure it out via that one
                     , ansi-wl-pprint
  ghc-options:         -Wall
  default-language:    Haskell2010

test-suite doctest
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test/Doctest
  main-is:             Main.hs
  build-depends:       base
                     , doctest >= 0.9
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/quchen/show-prettyprint
openSUSE Build Service is sponsored by