packages feed

text-show-instances-0.2: text-show-instances.cabal

name:                text-show-instances
version:             0.2
synopsis:            Additional instances for text-show
description:         @text-show-instances@ is a supplemental library to @text-show@
                     that provides additional @Show@ instances for data types in
                     common Haskell libraries and GHC dependencies that are not
                     encompassed by @text-show@. Currently, @text-show-instances@
                     covers these libraries:
                     .
                     * @<http://hackage.haskell.org/package/binary               binary>@
                     .
                     * @<http://hackage.haskell.org/package/containers           containers>@
                     .
                     * @<http://hackage.haskell.org/package/directory            directory>@
                     .
                     * @<http://hackage.haskell.org/package/haskeline            haskeline>@
                     .
                     * @<http://hackage.haskell.org/package/hoopl                hoopl>@
                     .
                     * @<http://hackage.haskell.org/package/hpc                  hpc>@
                     .
                     * @<http://hackage.haskell.org/package/old-locale           old-locale>@
                     .
                     * @<http://hackage.haskell.org/package/old-time             old-time>@
                     .
                     * @<http://hackage.haskell.org/package/pretty               pretty>@
                     .
                     * @<http://hackage.haskell.org/package/random               random>@
                     .
                     * @<http://hackage.haskell.org/package/semigroups           semigroups>@
                     .
                     * @<http://hackage.haskell.org/package/tagged               tagged>@
                     .
                     * @<http://hackage.haskell.org/package/template-haskell     template-haskell>@
                     .
                     * @<http://hackage.haskell.org/package/terminfo             terminfo>@
                     .
                     * @<http://hackage.haskell.org/package/time                 time>@
                     .
                     * @<http://hackage.haskell.org/package/transformers         transformers>@
                     .
                     * @<http://hackage.haskell.org/package/unix                 unix>@
                     .
                     * @<http://hackage.haskell.org/package/unordered-containers unordered-containers>@
                     .
                     * @<http://hackage.haskell.org/package/utf8-string          utf8-string>@
                     .
                     * @<http://hackage.haskell.org/package/vector               vector>@
                     .
                     * @<http://hackage.haskell.org/package/Win32                Win32>@
                     .
                     * @<http://hackage.haskell.org/package/xhtml                xhtml>@
                     .
                     One can use these instances by importing
                     "Text.Show.Text.Instances". Alternatively, there are monomorphic
                     versions of the @showb@ function available in the other submodules
                     of "Text.Show.Text".
homepage:            https://github.com/RyanGlScott/text-show-instances
bug-reports:         https://github.com/RyanGlScott/text-show-instances/issues
license:             BSD3
license-file:        LICENSE
author:              Ryan Scott
maintainer:          Ryan Scott <ryan.gl.scott@ku.edu>
stability:           Experimental
copyright:           (C) 2014-2015 Ryan Scott
category:            Text
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md, include/inline.h
cabal-version:       >=1.8

source-repository head
  type:                git
  location:            git://github.com/RyanGlScott/text-show-instances.git

library
  exposed-modules:     Text.Show.Text.Instances
  
                       Text.Show.Text.Compiler.Hoopl
                       Text.Show.Text.Control.Applicative.Trans
                       Text.Show.Text.Control.Monad.Trans
                       Text.Show.Text.Data.Binary
                       Text.Show.Text.Data.Containers
                       Text.Show.Text.Data.Functor.Trans
                       Text.Show.Text.Data.List.NonEmpty
                       Text.Show.Text.Data.Semigroup
                       Text.Show.Text.Data.String.UTF8
                       Text.Show.Text.Data.Tagged
                       Text.Show.Text.Data.Time
                       Text.Show.Text.Data.UnorderedContainers
                       Text.Show.Text.Data.Vector
                       Text.Show.Text.Language.Haskell.TH
                       Text.Show.Text.System.Console.Haskeline
                       Text.Show.Text.System.Directory
                       Text.Show.Text.System.Locale
                       Text.Show.Text.System.Random
                       Text.Show.Text.System.Time
                       Text.Show.Text.Text.PrettyPrint
                       Text.Show.Text.Text.XHtml
                       Text.Show.Text.Trace.Hpc
  other-modules:       Text.Show.Text.Compiler
                       Text.Show.Text.Control
                       Text.Show.Text.Data
                       Text.Show.Text.Language
                       Text.Show.Text.System
                       Text.Show.Text.Text
                       Text.Show.Text.Trace
                       Text.Show.Text.Utils
  build-depends:       base                 >= 4.2    && < 5
                     , binary               >= 0.6    && < 0.8
                     , bytestring           >= 0.9    && < 0.11
                     , containers           >= 0.1    && < 0.6
                     , directory            >= 1      && < 1.3
                     , haskeline            >= 0.7    && < 0.8
                     , hoopl                >= 3.8.7  && < 3.11
                     , hpc                  >= 0.5    && < 0.7
                     , old-locale           >= 1      && < 1.1
                     , old-time             >= 1      && < 1.2
                     , pretty               >= 1      && < 1.2
                     , random               >= 1.0.1  && < 1.2
                     , semigroups           >= 0.8.4  && < 1
                     , tagged               >= 0.4.4  && < 1
                     , template-haskell     >= 2.4    && < 2.11
                     , text                 >= 0.8    && < 1.3
                     , text-show            >= 0.5    && < 0.7
                     , time                 >= 0.1    && < 1.6
                     , transformers         >= 0.2.1  && < 0.5
                     , transformers-compat  >= 0.3    && < 1
                     , unordered-containers >= 0.2    && < 0.3
                     , utf8-string          >= 0.3.1  && < 1.1
                     , vector               >= 0.9    && < 0.11
                     , xhtml                >= 3000.2 && < 3000.3
  hs-source-dirs:      src
  ghc-options:         -Wall
  include-dirs:        include
  includes:            inline.h
  install-includes:    inline.h
  
  if os(windows)
    build-depends:     Win32                >= 2.1    && < 2.4
    exposed-modules:   Text.Show.Text.System.Win32
  else
    build-depends:     terminfo             >= 0.3.2  && < 0.5
                     , unix                 >= 2      && < 2.8
    exposed-modules:   Text.Show.Text.System.Console.Terminfo
                       Text.Show.Text.System.Posix

test-suite text-show-instances-properties
  type:                exitcode-stdio-1.0
  main-is:             Properties.hs
  other-modules:       Instances.Compiler.Hoopl
                       Instances.Control.Applicative.Trans
                       Instances.Control.Monad.Trans
                       Instances.Data.Binary
                       Instances.Data.Containers
                       Instances.Data.Functor.Trans
                       Instances.Data.List.NonEmpty
                       Instances.Data.Semigroup
                       Instances.Data.String.UTF8
                       Instances.Data.Tagged
                       Instances.Language.Haskell.TH
                       Instances.Miscellaneous
                       Instances.System.Console.Haskeline
                       Instances.System.Directory
                       Instances.System.Locale
                       Instances.System.Random
                       Instances.Text.PrettyPrint
                       Instances.Text.XHtml
                       Instances.Trace.Hpc
                       Instances.Utils
                       Properties.Compiler.Hoopl
                       Properties.Control.Applicative.Trans
                       Properties.Control.Monad.Trans
                       Properties.Data.Binary
                       Properties.Data.Containers
                       Properties.Data.Functor.Trans
                       Properties.Data.List.NonEmpty
                       Properties.Data.Semigroup
                       Properties.Data.String.UTF8
                       Properties.Data.Tagged
                       Properties.Data.Time
                       Properties.Data.UnorderedContainers
                       Properties.Language.Haskell.TH
                       Properties.System.Console.Haskeline
                       Properties.System.Directory
                       Properties.System.Locale
                       Properties.System.Random
                       Properties.System.Time
                       Properties.Text.PrettyPrint
                       Properties.Text.XHtml
                       Properties.Trace.Hpc
                       Properties.Utils
  build-depends:       base                 >= 4.5    && < 5
                     , binary               >= 0.6    && < 0.8
                     , bytestring           >= 0.9    && < 0.11
                     , containers           >= 0.1    && < 0.6
                     , directory            >= 1      && < 1.3
                     , haskeline            >= 0.7    && < 0.8
                     , hoopl                >= 3.8.7  && < 3.11
                     , hpc                  >= 0.5    && < 0.7
                     , old-locale           >= 1      && < 1.1
                     , old-time             >= 1      && < 1.2
                     , pretty               >= 1      && < 1.2
                     , quickcheck-instances >= 0.1    && < 0.4
                     , random               >= 1.0.1  && < 1.2
                     , semigroups           >= 0.8.4  && < 1
                     , tagged               >= 0.4.4  && < 1
                     , tasty                >= 0.8    && < 0.11
                     , tasty-hunit          >= 0.8    && < 0.10
                     , tasty-quickcheck     >= 0.8    && < 0.9
                     , template-haskell     >= 2.4    && < 2.11
                     , text-show            >= 0.5    && < 0.7
                     , text-show-instances  == 0.2
                     , time                 >= 0.1    && < 1.6
                     , transformers         >= 0.2.1  && < 0.5
                     , transformers-compat  >= 0.3    && < 1
                     , unordered-containers >= 0.2    && < 0.3
                     , utf8-string          >= 0.3.1  && < 1.1
                     , vector               >= 0.9    && < 0.11
                     , xhtml                >= 3000.2 && < 3000.3
  hs-source-dirs:      tests
  ghc-options:         -Wall
  
  if os(windows)
    build-depends:     Win32                >= 2.1    && < 2.4
    other-modules:     Instances.System.Win32
                       Properties.System.Win32
  else
    build-depends:     terminfo             >= 0.3.2  && < 0.5
                     , unix                 >= 2      && < 2.8
    other-modules:     Instances.System.Console.Terminfo
                       Instances.System.Posix
                       Properties.System.Console.Terminfo
                       Properties.System.Posix