packages feed

microformats2-parser-1.0.1.1: microformats2-parser.cabal

name:            microformats2-parser
version:         1.0.1.1
synopsis:        A Microformats 2 parser.
category:        Web
homepage:        https://github.com/myfreeweb/microformats2-parser
author:          Greg V
copyright:       2015 Greg V <greg@unrelenting.technology>
maintainer:      greg@unrelenting.technology
license:         PublicDomain
license-file:    UNLICENSE
build-type:      Simple
cabal-version:   >= 1.10
extra-source-files:
    README.md
tested-with:
    GHC == 7.10.2

source-repository head
    type: git
    location: git://github.com/myfreeweb/microformats2-parser.git

library
    build-depends:
        base >= 4.7.0.0 && < 5
      , transformers
      , text
      , bytestring
      , time
      , either
      , safe
      , containers
      , unordered-containers
      , vector
      , aeson
      , aeson-qq
      , lens-aeson
      , data-default
      , html-conduit
      , xml-lens
      , network-uri
      , blaze-markup
      , xss-sanitize
      , pcre-heavy
    default-language: Haskell2010
    exposed-modules:
        Data.Microformats2.Parser
        Data.Microformats2.Parser.Property
        Data.Microformats2.Parser.HtmlUtil
        Data.Microformats2.Parser.Util
    ghc-options: -Wall
    hs-source-dirs: library

executable microformats2-parser
    build-depends:
        base >= 4.7.0.0 && < 5
      , options
      , warp
      , wai-extra
      , network
      , network-uri
      , streaming-commons
      , stringable
      , data-default
      , text
      , scotty
      , aeson
      , aeson-pretty
      , blaze-html
      , blaze-markup
      , microformats2-parser
    default-language: Haskell2010
    ghc-prof-options: -auto-all -prof
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
    hs-source-dirs: executable
    main-is: Main.hs

test-suite tests
    build-depends:
        base >= 4.7.0.0 && < 5
      , mtl
      , time
      , text
      , bytestring
      , network-uri
      , hspec
      , hspec-expectations-pretty-diff
      , template-haskell
      , microformats2-parser
      , raw-strings-qq
      , aeson-qq
      , data-default
      , html-conduit
      , xml-lens
    default-language: Haskell2010
    ghc-options: -threaded -Wall -fhpc
    hs-source-dirs: test-suite
    main-is: Spec.hs
    other-modules:
        TestCommon
        Data.Microformats2.ParserSpec
        Data.Microformats2.Parser.PropertySpec
        Data.Microformats2.Parser.HtmlUtilSpec
    type: exitcode-stdio-1.0