packages feed

safe-printf-0.1.0.0: safe-printf.cabal

-- Initial safe-printf.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                safe-printf
version:             0.1.0.0
synopsis:            Well-typed, flexible and variadic printf for Haskell
description:         More type-safe, flexible replacement of variadic printf for Text.Printf.
homepage:            https://github.com/konn/safe-printf
license:             BSD3
license-file:        LICENSE
author:              Hiromi ISHII
maintainer:          konn.jinro_at_gmail.com
copyright:           (c) Hiromi ISHII 2015
category:            Text
build-type:          Simple
extra-source-files:  README.md, examples/*.hs
cabal-version:       >=1.10

source-repository head
  Type: git
  Location: git://github.com/konn/safe-printf.git

library
  exposed-modules:     Text.Printf.Safe,
                       Text.Printf.Safe.QQ,
                       Text.Printf.Safe.Core,
                       Text.Printf.Safe.Combinators
  other-modules:       Text.Printf.Safe.QQ.Internal
  build-depends:       base >=4 && <5
                     , haskell-src-meta >=0.6 && <0.7
                     , template-haskell >=2.9 && <2.11
                     , th-lift >=0.6 && <0.8
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite spec
  type:                 exitcode-stdio-1.0
  default-language:     Haskell2010
  hs-source-dirs:       test, src
  ghc-options:          -Wall
  Main-is:              Spec.hs
  build-depends:        QuickCheck
                      , base >=4 && <5
                      , hspec
                      , haskell-src-meta >=0.6 && <0.7
                      , template-haskell >=2.9 && <2.11
                      , th-lift >=0.6 && <0.8
test-suite doctest
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  HS-Source-Dirs:       test
  Ghc-Options:          -threaded -Wall
  Main-Is:              doctests.hs
  Build-Depends:        base
                      , doctest