packages feed

linebreak-1.1.0.2: linebreak.cabal

name:                linebreak
version:             1.1.0.2
synopsis:            breaks strings to fit width
description:         Simple functions to break a String to fit a maximum text
                     width, using Knuth-Liang hyphenation algorhitm.
license:             BSD3
license-file:        LICENSE
author:              Francesco Ariis
homepage:            http://ariis.it/static/articles/linebreak/page.html
maintainer:          fa-ml@ariis.it
category:            Text
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC==7.8.4
extra-source-files:  CHANGES

source-repository head
  type:     git
  location: https://gitlab.com/fffaaa/linebreak

library
  -- Modules exported by the library.
  default-language:    Haskell2010
  exposed-modules:     Text.LineBreak
  build-depends:       base == 4.*,
                       hyphenation >= 0.8 && < 1
  hs-source-dirs:      src
  ghc-options:         -Wall

test-suite test
  default-language:    Haskell2010
  ghc-options:         -Wall
  HS-Source-Dirs:      test, src
  main-is:             hspec.hs
  other-modules:       Text.LineBreak
  build-depends:       base == 4.*,
                       hyphenation >= 0.8 && < 1
                       -- same as above, plus hspec
                       , hspec >= 2.5 && < 2.11
  type:                exitcode-stdio-1.0
  ghc-options:         -Wall