packages feed

yesod-content-pdf-0.2.0.4: yesod-content-pdf.cabal

name:                yesod-content-pdf
version:             0.2.0.4
synopsis:            PDF Content Type for Yesod
description:         Provides a PDF content type for integrating wkhtmltopdf with Yesod apps. Please see README.md for further details.
homepage:            https://github.com/alexkyllo/yesod-content-pdf#readme
license:             BSD3
license-file:        LICENSE
author:              Alex Kyllo
maintainer:          alex.kyllo@gmail.com
copyright:           2015 Alex Kyllo
category:            Web
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Yesod.Content.PDF
  default-extensions:  OverloadedStrings
                     , TypeSynonymInstances
                     , FlexibleInstances
                     , GeneralizedNewtypeDeriving

  build-depends:       base >= 4.7 && < 5
                     , blaze-builder
                     , blaze-html
                     , bytestring
                     , directory
                     , network-uri
                     , process
                     , temporary
                     , yesod-core
                     , conduit
                     , data-default
                     , transformers

  default-language:    Haskell2010

test-suite yesod-content-pdf-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  default-extensions:  OverloadedStrings
  other-modules:       Yesod.Content.PDFSpec
  build-depends:       base
                     , yesod-content-pdf
                     , hspec
                     , hspec-expectations
                     , utf8-string
                     , blaze-html
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/alexkyllo/yesod-content-pdf