packages feed

titlecase-0.1.0.2: titlecase.cabal

name:                titlecase
version:             0.1.0.2
license:             BSD3
license-file:        LICENSE
author:              Nikita Karetnikov
maintainer:          nikita@karetnikov.org
homepage:            https://github.com/nkaretnikov/titlecase
bug-reports:         https://github.com/nkaretnikov/titlecase/issues
copyright:           2015 Nikita Karetnikov
category:            Text
build-type:          Simple
cabal-version:       >=1.10
synopsis:            Convert English words to title case
description:         Capitalize all English words except articles (a, an, the),
                     coordinating conjunctions (for, and, nor, but, or, yet, so), and
                     prepositions (unless they begin or end the title).  The
                     prepositions are taken from this list:
                     <https://en.wikipedia.org/wiki/List_of_English_prepositions>.

extra-source-files:
  .gitignore
  README.md
  shell.nix
  stack.yaml

source-repository head
  type:     git
  location: https://github.com/nkaretnikov/titlecase

library
  default-language:    Haskell2010
  hs-source-dirs:      src
  ghc-options:         -Wall
  exposed-modules:     Data.Text.Titlecase
                     , Data.Text.Titlecase.Internal
  build-depends:       base >=4.7 && <4.9
                     , blaze-markup
                     , semigroups
                     , text

executable titlecase
  default-language:    Haskell2010
  main-is:             Main.hs
  ghc-options:         -Wall
  build-depends:       base < 5
                     , blaze-markup
                     , text
                     , titlecase

test-suite test
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             Test.hs
  ghc-options:         -Wall
  other-modules:       Test.Property
                     , Test.Unit
  build-depends:       base >=4.7 && <4.9
                     , semigroups
                     , tasty
                     , tasty-hunit
                     , tasty-quickcheck
                     , text
                     , titlecase