packages feed

countable-inflections-0.2.0: countable-inflections.cabal

name:                countable-inflections
version:             0.2.0
synopsis:            Countable Text Inflections
description:
  Provides methods for singularizing and pluralizing text.
  The library is based on Rails' inflections.

license:             MIT
license-file:        LICENSE.md
author:              Brady Ouren <brady@andand.co>
homepage:            https://github.com/tippenein/countable-inflections
bug-reports:         https://github.com/tippenein/countable-inflections/issues
maintainer:          Brady Ouren <brady@andand.co>
copyright:           2016 Brady Ouren
category:            Text
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  CHANGELOG.md
                   , README.md

source-repository head
  type:            git
  location:        https://github.com/tippenein/countable-inflections.git

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  exposed-modules:     Text.Countable
  other-modules:       Text.Countable.Data
  ghc-options:         -Wall
  build-depends:
      base         >= 4.6   && < 4.10
    , exceptions   >= 0.6   && < 0.9
    , text         >= 0.2   && < 1.3
    , regex-pcre-builtin
    , pcre-utils
    , bytestring
  default-language:    Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Spec.hs
  build-depends:
      countable-inflections
    , QuickCheck   >= 2.7.6 && < 3.0
    , base         >= 4.2   && < 4.10
    , hspec        >= 2.0   && < 3.0
    , text         >= 0.2   && < 1.3
  ghc-options:         -Wall
  default-language:    Haskell2010
  other-modules:       Text.CountableSpec