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

name:          wl-pprint-annotated
category:      Text
version:       0.0.1.3
synopsis:      Wadler/Leijen pretty printer with annotations and slightly modernized API
cabal-version: >= 1.10
license:       BSD3
license-file:  LICENSE
tested-with:   GHC == 7.10.3, GHC == 8.0.1
author:        Daniel Mendler <mail@daniel-mendler.de>
maintainer:    Daniel Mendler <mail@daniel-mendler.de>
stability:     experimental
homepage:      https://github.com/minad/wl-pprint-annotated#readme
bug-reports:   https://github.com/minad/wl-pprint-annotated/issues
copyright:     2011-2012 Edward A. Kmett, 2000 Daan Leijen
description:   Wadler/Leijen pretty printer with annotations and slightly modernized API
build-type:    Simple

source-repository head
  type: git
  location: https://github.com/minad/wl-pprint-annotated

library
  hs-source-dirs:
    src
  default-extensions: FlexibleInstances TypeSynonymInstances DeriveFunctor DeriveFoldable DeriveTraversable DeriveGeneric DefaultSignatures
  ghc-options: -Wall
  build-depends:
    base       >= 4.8  && < 5,
    containers >= 0.4  && < 0.6,
    text       >= 0.11 && < 1.3,
    deepseq    >= 1.4  && < 1.6
  if impl(ghc < 8.0)
    build-depends:
      semigroups >= 0.9 && < 1
  exposed-modules:
    Text.PrettyPrint.Annotated.WL
  default-language: Haskell2010

test-suite wl-pprint
  type: exitcode-stdio-1.0
  main-is: WLPPrintTests.hs
  hs-source-dirs:
    test
  default-extensions: FlexibleInstances TypeSynonymInstances DeriveFunctor DeriveFoldable DeriveTraversable DeriveGeneric DefaultSignatures
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
    base       >= 4.8  && < 5,
    containers >= 0.4  && < 0.6,
    text       >= 0.11 && < 1.3,
    deepseq    >= 1.4  && < 1.6,
    wl-pprint-annotated,
    HUnit,
    test-framework,
    test-framework-hunit
  if impl(ghc < 8.0)
    build-depends:
      semigroups >= 0.9 && < 1
  default-language: Haskell2010