packages feed

formattable-0.1: formattable.cabal

Name:                formattable
Version:             0.1
Synopsis:            Business-quality formatting of numbers, dates, and other things
Description:         This package defines data structures for describing
                     business-quality formatting for numbers, dates, etc in a
                     way that can be serialized and transported.  Comes with
                     excellent built-in support for formatting numbers.  It
                     also provides a generic interface for formatting other
                     types as well.
License:             BSD3
License-file:        LICENSE
Author:              Ozgun Ataman, Doug Beardsley
Maintainer:          oz@soostone.com
Homepage:            https://github.com/Soostone/formattable
Bug-reports:         https://github.com/Soostone/formattable/issues
Category:            Text
Build-type:          Simple
Cabal-version:       >= 1.10


Library
  Exposed-modules:     
    Formattable
    Formattable.NumFormat

  hs-source-dirs: src
  Build-depends:
      base                     >= 4     && < 5
    , bytestring               >= 0.9   && < 0.11
    , data-default-class       < 0.1
    , double-conversion        >= 0.2   && < 2.1
    , lens                     >= 4     && < 4.13
    , old-locale               >= 1.0   && < 1.1
    , text                     >= 0.11  && < 1.3
    , time                     >= 1.4   && < 1.6

  ghc-options: -Wall -fwarn-tabs
  default-language: Haskell2010


Test-Suite testsuite
  type: exitcode-stdio-1.0
  hs-Source-Dirs: src test
  ghc-Options: -Wall -fhpc -threaded -fbreak-on-exception
  main-Is: Spec.hs

  other-modules:
    Formattable
    Formattable.NumFormat

  build-depends:
      HUnit                    >= 1.2   && < 1.3
    , base
    , bytestring
    , data-default-class
    , double-conversion
    , hspec                    >= 1.10  && < 2.2
    , lens
    , old-locale
    , text
    , time

source-repository head
  type:     git
  location: https://github.com/Soostone/formattable.git