packages feed

microformats2-parser-1.0.1.9: microformats2-parser.cabal

name:            microformats2-parser
version:         1.0.1.9
synopsis:        A Microformats 2 parser.
description:     A parser for Microformats 2 (http://microformats.org/wiki/microformats2), a simple way to describe structured information in HTML.
category:        Web
homepage:        https://github.com/myfreeweb/microformats2-parser
author:          Greg V
copyright:       2015-2018 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 == 8.4.3

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

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

executable microformats2-parser
    build-depends:
        base >= 4.7.0.0 && < 5
      , base-compat >= 0.8.0
      , options
      , wai-cli
      , wai-extra
      , network
      , network-uri
      , data-default
      , text
      , scotty
      , aeson
      , aeson-pretty
      , blaze-html
      , blaze-markup
      , microformats2-parser
    default-language: Haskell2010
    ghc-options: -Wall -threaded -rtsopts "-with-rtsopts=-N -qa -qm"
    hs-source-dirs: executable
    main-is: Main.hs

test-suite tests
    build-depends:
        base >= 4.7.0.0 && < 5
      , base-compat >= 0.8.0
      , 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
    hs-source-dirs: test-suite
    main-is: Spec.hs
    other-modules:
        TestCommon
        Data.Microformats2.ParserSpec
        Data.Microformats2.Parser.PropertySpec
        Data.Microformats2.Parser.HtmlUtilSpec
        Data.Microformats2.Jf2Spec
    type: exitcode-stdio-1.0